C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 garbage values 0 0 0 Error 1 1 1 garbage values 0 0 0 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 5 8 5 5 2 4 4 2 5 5 2 4 5 8 5 5 2 4 4 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? 6 It will not compile because not enough initializers are given 12 24 7 6 It will not compile because not enough initializers are given 12 24 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to infinite -10 to 0 -10 to -1 Complier error -10 to infinite -10 to 0 -10 to -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 None of these 216 – 1 215 – 1 216 215 None of these 216 – 1 215 – 1 216 ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Arithmetic expressions R-values Local variables Members of a structure Both of the above Arithmetic expressions R-values Local variables Members of a structure Both of the above ANSWER DOWNLOAD EXAMIANS APP