C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 1 complier error 0 no error no output 1 complier error 0 no error no output ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 3 1 1 2 2 None of these 0 1 2 2 1 1 2 3 0 1 2 3 1 1 2 2 None of these 0 1 2 2 1 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); Syntax error 0123456789 Infinite loop 10 0 Syntax error 0123456789 Infinite loop 10 0 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);} 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 Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... The number of successful read input values. ASCII value of the input read. 1 The actual values read for each argument. 0 The number of successful read input values. ASCII value of the input read. 1 The actual values read for each argument. 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 13, 13, 24, 13 50, 13, 24, 50 50, 13, 24, 13 50, 13, 11, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 50 50, 13, 24, 13 50, 13, 11, 13 13, 10, 24, 50 ANSWER DOWNLOAD EXAMIANS APP