C Programming The library function used to find the last occurrence of a character in a string is strnstr() strstr() laststr() strrchr() None of these strnstr() strstr() laststr() strrchr() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} Run time error 10 10 10 20 20 20 Run time error 10 10 10 20 20 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} N P None of These M N P None of These M 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 Compiler Error Nothing is printed XAM is printed exam is printed Compiler Error Nothing is printed XAM is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of macros Takes care of conditional compilation All of these Acts before compilation Takes care of include files Takes care of macros Takes care of conditional compilation All of these Acts before compilation Takes care of include files ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 -1 1 1 -1 -1 -1 1 complier error 1 -1 1 1 -1 -1 -1 1 complier error ANSWER DOWNLOAD EXAMIANS APP