C Programming Determine Output:void 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 5 5 5 2 4 5 2 5 5 2 4 4 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 1 10 -5 15 30 1 10 -5 15 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? getch() main() printf() system() start() getch() main() printf() system() start() 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); 14 13 12 15 Garbage Value 14 13 12 15 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 0 0 0 garbage values 1 1 1 Error 0 0 0 garbage values 1 1 1 ANSWER DOWNLOAD EXAMIANS APP