C Programming Comment on the following pointer declaration?int *ptr, p; ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. 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? It will not compile because not enough initializers are given 6 7 12 24 It will not compile because not enough initializers are given 6 7 12 24 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 8 50 2 20 Theoratically no limit. The only practical limits are memory size and compilers. 8 50 2 20 Theoratically no limit. The only practical limits are memory size and compilers. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 2 0 1 2 3 None of these 1 1 2 2 1 1 2 3 0 1 2 2 0 1 2 3 None of these 1 1 2 2 1 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 5 4 3 2 1 None of These 0 0 0 0 Infinite Loop 5 4 3 2 1 None of These 0 0 0 0 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 6 5.600000 0 5.600000 Complier error 5 5.600000 6 5.600000 0 5.600000 Complier error 5 5.600000 ANSWER DOWNLOAD EXAMIANS APP