C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} None of these 0 1 6 10 None of these 0 1 6 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 11 13 12 None of These 11 13 12 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: float ptr; *float ptr; None of these float *ptr; float ptr; *float ptr; None of these float *ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} GOOD GOOD BAD None of These Compiler Error GOOD GOOD BAD None of These Compiler Error 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 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 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? Syntax error 6 8 Runtime error No output Syntax error 6 8 Runtime error No output ANSWER DOWNLOAD EXAMIANS APP