C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 5 5 5 2 4 5 2 4 4 2 5 5 5 5 5 2 4 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
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));} 10 None of these 15 11 12 10 None of these 15 11 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } None of These 64 4 16 None of These 64 4 16 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by value result call by reference None of these. call by value call by value result call by reference None of these. call by value ANSWER DOWNLOAD EXAMIANS APP
C Programming Standard ANSI C recognizes ______ number of keywords? 40 36 30 24 32 40 36 30 24 32 ANSWER DOWNLOAD EXAMIANS APP