C Programming Which is the only function all C programs must contain? main() system() getch() start() printf() main() system() getch() start() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} None of these WorldHello World Hello World Hello None of these WorldHello World Hello World Hello ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable It should be both declared and initialized. None of these. It should be initialized. It should be declared. It should be both declared and initialized. None of these. It should be initialized. It should be declared. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 1 2 3 4 4 5 6 7 4 Runtime error Syntax error 1 2 3 4 4 5 6 7 4 Runtime error Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 5 5 10 5 3 4 10 5 3 3 10 5 4 3 10 5 4 4 10 5 5 5 10 5 3 4 10 5 3 3 10 5 4 3 10 5 4 4 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);} None of these 20 30 24 25 None of these 20 30 24 25 ANSWER DOWNLOAD EXAMIANS APP