C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 1 0 Garbage Value 2 3 1 0 Garbage Value 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 8 2 Theoratically no limit. The only practical limits are memory size and compilers. 50 20 8 2 Theoratically no limit. The only practical limits are memory size and compilers. 50 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 64 16 None of These 4 64 16 None of These 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..2 2..2 2..4 4..4 4..2 2..2 2..4 4..4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We cannot change the pointer ptr itself. Both of the above We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. Both of the above We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=5 x=0 x=1 x=4 Error x=5 x=0 x=1 x=4 Error ANSWER DOWNLOAD EXAMIANS APP