C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 12 Compilation error 14 11 13 12 Compilation error 14 11 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1970 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1970 Sun Microsystems in 1973 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of These 5 4 3 2 1 Infinite Loop 5 5 5 5 5 None of These 5 4 3 2 1 Infinite Loop 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 11 10, 11 10, 10 11, 10 11, 11 10, 11 10, 10 11, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 15 30 10 -5 1 15 30 10 -5 1 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 You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz "after that program will stop" Run time error Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz "after that program will stop" Run time error ANSWER DOWNLOAD EXAMIANS APP