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; 10 6 9 11 5 10 6 9 11 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 7 It will not compile because not enough initializers are given 12 24 6 7 It will not compile because not enough initializers are given 12 24 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 II and III I and II I, II and III I, III and IV III and IV II and III I and II I, II and III I, III and IV III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Garbage value Error 3 6 Garbage value Error 3 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} H None of These Hello Some Address will be printed H None of These Hello Some Address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 5 5 10 5 4 4 10 5 4 3 10 5 3 4 10 5 3 3 10 5 5 5 10 5 4 4 10 5 4 3 10 5 3 4 10 5 3 3 ANSWER DOWNLOAD EXAMIANS APP