C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 1 0 complier error no error no output 1 0 complier error no error no output 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 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 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command comes before the first executable statement need not start on the first column has # as the first character need not start on a new line comes before the first executable statement need not start on the first column has # as the first character need not start on a new line ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strstr() strnstr() laststr() strrchr() None of these strstr() strnstr() laststr() strrchr() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as 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. Address of the first element of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(); None of these void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); None of these void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } ANSWER DOWNLOAD EXAMIANS APP