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);} None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value 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 value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 20 10 10 20 20 Run time error 10 20 10 10 20 20 Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1970 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1970 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 14 12 15 Garbage Value 13 14 12 15 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} 4 16 64 None of These 4 16 64 None of These ANSWER DOWNLOAD EXAMIANS APP