C Programming The declarationint (*p) [5];means None of these. p is a pointer to a 5 elements integer array. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. None of these. p is a pointer to a 5 elements integer array. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{7} arr{6} arr[6] arr[7] None of these arr{7} arr{6} arr[6] arr[7] None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} b = 4, c = 6 a = 4, c = 8 a = 3, c = 8 a = 4, c = 6 b = 3, c = 6 b = 4, c = 6 a = 4, c = 8 a = 3, c = 8 a = 4, c = 6 b = 3, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE RED ERROR RED ERROR RED WHITE BLUE ERROR RED WHITE BLUE RED ERROR RED ERROR RED WHITE BLUE ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 10..50 10..10 Error 0 10..50 10..10 Error 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of These Can't Say will print Hello World Compiler Error None of These Can't Say will print Hello World Compiler Error ANSWER DOWNLOAD EXAMIANS APP