C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The commas should be semicolons. The increment should always be ++k . There should be a semicolon at the end of the statement. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The commas should be semicolons. The increment should always be ++k . There should be a semicolon at the end of the statement. ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg cdefg efg defg fg bcdefg cdefg efg defg fg ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ow te et ck ow te et ck ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if The pointers point to data of similar type. None of these. The pointers point to structure of similar data type. The pointers point to elements of the same array. The pointers point to data of similar type. None of these. The pointers point to structure of similar data type. The pointers point to elements of the same array. ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 11 10 5 6 9 11 10 5 6 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 10 None of These 11 9 10 None of These 11 ANSWER DOWNLOAD EXAMIANS APP