C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} Error 11 1 12 Error 11 1 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff3 fff0 fff2 fff4 fff1 fff3 fff0 fff2 fff4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 0 Code will not compile 0 Garbage Value Garbage value 0 Garbage vlaue Garbage Value 0 0 Code will not compile 0 Garbage Value Garbage value 0 Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;printf("Enter your age:");scanf("%f", &age);AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("You have lived for %f seconds", AgeInSeconds);} Run time error Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz You have lived for 0 seconds Run time error Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz You have lived for 0 seconds ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello 5 hello garbage value None of These Error hello 5 hello garbage value None of These Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Enter a number:99 Number is divisible by 5 Run time error Enter a number:99 complier error Enter a number:99 Number is divisible by 5 Run time error Enter a number:99 complier error ANSWER DOWNLOAD EXAMIANS APP