C Programming int a[5] = {1,2,3}What is the value of a[4]? 0 3 1 Garbage Value 2 0 3 1 Garbage Value 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} Syntax error 053 65 65 65 53 65 065 65 Syntax error 053 65 65 65 53 65 065 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} Some Address will be printed H Hello None of These Some Address will be printed H Hello None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? puts() gets() printf() scanf() None of these puts() gets() printf() scanf() 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);} 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 Enter your age: xyz Your age is not valid ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE ERROR RED ERROR ERROR RED RED WHITE BLUE RED WHITE BLUE ERROR RED ERROR ERROR RED RED WHITE BLUE ANSWER DOWNLOAD EXAMIANS APP