C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff2 fff4 fff0 fff3 fff1 fff2 fff4 fff0 fff3 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);} Enter your age: xyz Your age is not valid Complier error Enter your age : xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds Enter your age: xyz Your age is not valid Complier error Enter your age : xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds 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));} 11 15 12 10 11 15 12 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 100 Error 0 1 100 Error 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 20 Theoratically no limit. The only practical limits are memory size and compilers. 2 50 8 20 Theoratically no limit. The only practical limits are memory size and compilers. 2 50 8 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 10 Compiler Error 50 None of These 10 Compiler Error 50 ANSWER DOWNLOAD EXAMIANS APP