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));} None of these 15 11 12 10 None of these 15 11 12 10 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);} Complier error 5 5.600000 6 5.600000 0 5.600000 Complier error 5 5.600000 6 5.600000 0 5.600000 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 RED RED WHITE BLUE ERROR RED WHITE BLUE ERROR RED ERROR RED RED WHITE BLUE ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 I, II and III I and II I, III and IV III and IV II and III I, II and III I and II I, III and IV III and IV II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 2 2 1 1 1 2 2 1 2 2 1 1 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} None of these Exam Exam\0Veda Veda Exam Veda None of these Exam Exam\0Veda Veda Exam Veda ANSWER DOWNLOAD EXAMIANS APP