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);} Complier error 0 5.600000 5 5.600000 6 5.600000 Complier error 0 5.600000 5 5.600000 6 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 12 11 10 15 None of these 12 11 10 15 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 10 10, 11 10, 10 11, 11 11, 10 10, 11 10, 10 11, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); void funct(int) { printf(“Hello"); } None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); void funct(int) { printf(“Hello"); } None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} Depends on the compiler nullp nullq x nullq where x can be p or nullp depending on the value of NULL p q Depends on the compiler nullp nullq x nullq where x can be p or nullp depending on the value of NULL p q ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = -1, +i = 1 None of These i = -1, +i = -1 i = 1, +i = 1 i = -1, +i = 1 None of These i = -1, +i = -1 i = 1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP