C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 6 5 6 6 7 11 6 12 7 6 6 5 6 6 7 11 6 12 7 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 Your age is not valid Enter your age: xyz You have lived for 0 seconds Complier error Enter your age: xyz Your age is not valid 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 What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 5 5.600000 Complier error 6 5.600000 0 5.600000 5 5.600000 Complier error 6 5.600000 0 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() laststr() None of these strrchr() strstr() strnstr() laststr() None of these strrchr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Linker Error 20 Compiler Error 2 Linker Error 20 Compiler Error 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(int) { printf(“Hello"); } int funct(); void funct(x) { printf(“Hello"); } None of these int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } int funct(); void funct(x) { printf(“Hello"); } None of these int funct(int x) { return x=x+1; } ANSWER DOWNLOAD EXAMIANS APP