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 9 6 5 10 11 9 6 5 10 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 6 24 It will not compile because not enough initializers are given 12 7 6 24 It will not compile because not enough initializers are given 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 215 – 1 216 216 – 1 None of these 215 215 – 1 216 216 – 1 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 15 30 1 -5 10 15 30 1 -5 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 1 2 3 Garbage Value 0 1 2 3 Garbage Value 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is array of pointers to 10 integers ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is array of pointers to 10 integers ptr is an pointer to array ANSWER DOWNLOAD EXAMIANS APP