C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} None of These Garbage Value 2 0 None of These Garbage Value 2 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 4 3 2 1 Infinite Loop Compilation Error None of these 5 5 5 5 5 5 4 3 2 1 Infinite Loop Compilation Error None of these 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... The actual values read for each argument. The number of successful read input values. ASCII value of the input read. 0 1 The actual values read for each argument. The number of successful read input values. ASCII value of the input read. 0 1 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 What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to 0 -10 to -1 Complier error -10 to infinite -10 to 0 -10 to -1 Complier error -10 to infinite ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} -1 20 19 17 16 -1 20 19 17 16 ANSWER DOWNLOAD EXAMIANS APP