C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 50 None of These Compiler Error 10 50 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } None of these 3 hello Compiler Error Linking error None of these 3 hello Compiler Error Linking error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? case main register auto default case main register auto default ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Will make an infinite loop. None of these. Error Some address will be printed. Will make an infinite loop. None of these. Error Some address will be printed. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 2 2 2 2 1 1 1 1 2 2 2 2 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} zero Error None of These three zero Error None of These three ANSWER DOWNLOAD EXAMIANS APP