C Programming The function sprintf() works like printf(), but operates on .......... no such function in 'C'. stderr Data file stdin string no such function in 'C'. stderr Data file stdin string ANSWER DOWNLOAD EXAMIANS APP
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"); } } exam is printed Nothing is printed XAM is printed Compiler Error exam is printed Nothing is printed XAM is printed Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions All of these Helps to avoid repeating a set of statements many times. Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. Makes the debugging task easier. All of these Helps to avoid repeating a set of statements many times. Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. Makes the debugging task easier. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=1 sizeof(i)=2 None of These Compiler Error sizeof(i)=1 sizeof(i)=2 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? gets() printf() puts() scanf() None of these gets() printf() puts() scanf() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Unequal Equal Error None of these. Unequal Equal Error None of these. ANSWER DOWNLOAD EXAMIANS APP