C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} None of these M Morning Good Good Morning None of these M Morning Good Good Morning ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 8 No output Syntax error 6 Runtime error 8 No output Syntax error 6 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Makes the debugging task easier. Helps to avoid repeating a set of statements many times. All of these Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. Makes the debugging task easier. Helps to avoid repeating a set of statements many times. All of these Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} 65 A Error c 65 A Error c 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 4 5 2 4 4 8 5 5 2 5 5 2 4 5 2 4 4 8 5 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=3 j=2 i=4 j=2 i=5 j=2 the behavior is undefined i=3 j=2 i=4 j=2 i=5 j=2 the behavior is undefined ANSWER DOWNLOAD EXAMIANS APP