C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} M None of these Good Morning Good Morning M None of these Good Morning Good Morning 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? 7 6 12 24 It will not compile because not enough initializers are given 7 6 12 24 It will not compile because not enough initializers are given ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is legal but meaningless is illegal None of these. is syntactically and semantically correct is legal but meaningless is illegal None of these. is syntactically and semantically correct 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 NOITANIMAXE C Syntax error No output at all. C NOITANIMAXE NOITANIMAXE C Syntax error No output at all. C ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 13 15 14 Garbage Value 12 13 15 14 Garbage Value 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} Error 10 0.000000 None of these. Error 10 0.000000 None of these. ANSWER DOWNLOAD EXAMIANS APP