C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 2 1 2 2 1 2 1 1 2 1 2 2 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE C NOITANIMAXE C No output at all. Syntax error NOITANIMAXE C NOITANIMAXE C No output at all. Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} None of these Good Morning Morning M Good None of these Good Morning Morning M Good ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff0 fff1 fff4 fff3 fff2 fff0 fff1 fff4 fff3 fff2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ float char short long int float char short long int ANSWER DOWNLOAD EXAMIANS APP