C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} 11 Compilation error 12 14 13 11 Compilation error 12 14 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Address of the first element of the array. Number of element of the array. Values of the first elements of the array. Address of the array. Address of the first element of the array. Number of element of the array. Values of the first elements of the array. Address of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Will make an infinite loop. Some address will be printed. Error None of these. Will make an infinite loop. Some address will be printed. Error None of these. 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 Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 I and II III and IV I, III and IV I, II and III II and III I and II III and IV I, III and IV I, II and III II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} Hello World None of these Hello WorldHello World Hello World None of these Hello WorldHello World ANSWER DOWNLOAD EXAMIANS APP