C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} Error 0 10..50 10..10 Error 0 10..50 10..10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} None of these. Equal Unequal Error None of these. Equal Unequal Error 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 Veda Exam\0Veda Exam Exam Veda None of these Veda Exam\0Veda Exam Exam Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? + * % / None of these + * % / None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 12 11 Compilation error 13 14 12 11 Compilation error 13 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? None of these Exam veda Exam_veda Examians Both A and B None of these Exam veda Exam_veda Examians Both A and B ANSWER DOWNLOAD EXAMIANS APP