C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int *p(char *)[] int(*p(char *))[] None of these. int (*p) (char *)[] int *p(char *)[] int(*p(char *))[] None of these. int (*p) (char *)[] ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 5 8 5 5 2 4 4 2 5 5 2 4 5 8 5 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ short int long float char short int long float char 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 ERROR RED WHITE BLUE ERROR RED ERROR RED WHITE BLUE RED ERROR RED WHITE BLUE ERROR RED ERROR RED WHITE BLUE ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when All of these It is a formal parameter It is a declaratrion Initialization is a part of definition All of these It is a formal parameter It is a declaratrion Initialization is a part of definition ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP