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? Runtime error No output Syntax error 8 6 Runtime error No output Syntax error 8 6 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 5 5 2 4 4 8 5 5 2 4 5 2 5 5 2 4 4 8 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 9 5 7 8 6 9 5 7 8 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello garbage value hello 5 Error None of These hello garbage value hello 5 Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1970 AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1970 ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is syntactically and semantically correct None of these. is legal but meaningless is illegal is syntactically and semantically correct None of these. is legal but meaningless is illegal ANSWER DOWNLOAD EXAMIANS APP