C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means 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. p is a pointer to a 5 elements integer array. None of these. The same as int *p[ ANSWER DOWNLOAD EXAMIANS APP
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 The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} Runtime error 10012 100 Syntax error g##g2 Runtime error 10012 100 Syntax error g##g2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 6 Garbage Value 5 0 None of these 6 Garbage Value 5 0 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 None of These 0 Garbage Value 2 None of These 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP