C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 10 Compiler Error None of These 50 10 Compiler Error None of These 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");} nullp nullq Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL p q nullp nullq Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL p q ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 50 10 Compiler Error None of These 50 10 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) power(2, x) power(x, 2) pow(x, 2) sqr(x) pow(2, x) power(2, x) power(x, 2) pow(x, 2) sqr(x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 10 12 15 11 10 12 15 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 5 7 6 None of These 5 7 6 None of These ANSWER DOWNLOAD EXAMIANS APP