C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } XAM is printed exam is printed Nothing is printed Compiler Error XAM is printed exam is printed Nothing is printed Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 25 None of these 24 30 20 25 None of these 24 30 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1972 Sun Microsystems in 1973 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? printf() getch() main() system() start() printf() getch() main() system() start() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 4 5 5 5 2 4 5 2 5 5 2 4 4 5 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? None of these puts() scanf() gets() printf() None of these puts() scanf() gets() printf() ANSWER DOWNLOAD EXAMIANS APP