C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Veda None of these Exam Veda Exam\0Veda Exam Veda None of these Exam Veda Exam\0Veda Exam ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... Data file stdin string stderr no such function in 'C'. Data file stdin string stderr no such function in 'C'. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 7 8 3 3 8 7 3 None of these 3 7 8 3 3 8 7 3 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These Some address will be printed make an infinite loop Error None of These Some address will be printed make an infinite loop Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 6 5 None of These 7 6 5 None of These 7 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 30 24 None of these 20 25 30 24 None of these 20 ANSWER DOWNLOAD EXAMIANS APP