C Programming The address operator &, cannot act on Arithmetic expressions R-values Members of a structure Local variables Both of the above Arithmetic expressions R-values Members of a structure Local variables Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 10 10 20 21 21 10 10 11 11 10 20 21 20 10 20 21 10 10 20 21 21 10 10 11 11 10 20 21 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Compilation Error 5 4 3 2 1 None of these 5 5 5 5 5 Infinite Loop Compilation Error 5 4 3 2 1 None of these 5 5 5 5 5 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means p is a pointer to a 5 elements integer array. None of these. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. None of these. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} None of these 25 30 24 20 None of these 25 30 24 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? Garbage Value 0 1 3 2 Garbage Value 0 1 3 2 ANSWER DOWNLOAD EXAMIANS APP