C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} no output infinity loop 3 2 1 0 3 2 1 no output infinity loop 3 2 1 0 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam\0Veda None of these Veda Exam Exam Veda Exam\0Veda None of these Veda Exam Exam Veda 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);} 20 25 None of these 24 30 20 25 None of these 24 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Ok here None of These Error Forget it Ok here None of These Error Forget it ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. II and IV I and III I and II II and III III and IV II and IV I and III I and II II and III III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop None of these 5 4 3 2 1 5 5 5 5 5 Compilation Error Infinite Loop None of these 5 4 3 2 1 5 5 5 5 5 Compilation Error ANSWER DOWNLOAD EXAMIANS APP