C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} g##g2 Syntax error Runtime error 100 10012 g##g2 Syntax error Runtime error 100 10012 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;int value;printf("Enter your age:");value=scanf("%f", &age);if(value==0){printf("\\nYour age is not valid");}AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("\\n You have lived for %f seconds", AgeInSeconds);} Complier error Enter your age: xyz You have lived for 0 seconds Enter your age : xyz Your age is not valid Enter your age: xyz Your age is not valid Complier error Enter your age: xyz You have lived for 0 seconds Enter your age : xyz Your age is not valid Enter your age: xyz Your age is not valid ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? main() system() printf() getch() start() main() system() printf() getch() start() ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 11, 10 10, 10 11, 11 10, 11 11, 10 10, 10 11, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } None of these 0 10 14 1 None of these 0 10 14 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} GOOD BAD GOOD None of These Compiler Error GOOD BAD GOOD None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP