C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 15 10 None of these 12 11 15 10 None of these 12 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strrchr() strnstr() None of these strstr() laststr() strrchr() strnstr() None of these strstr() laststr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ck et te ow ck et te ow ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Members of a structure Both of the above Arithmetic expressions R-values Local variables Members of a structure Both of the above Arithmetic expressions R-values Local variables 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 XAM is printed Compiler Error Nothing is printed exam is printed XAM is printed Compiler Error Nothing is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 10 None of These 11 9 10 None of These 11 ANSWER DOWNLOAD EXAMIANS APP