C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} None of these Exam Veda Exam\0Veda Exam Veda None of these Exam Veda Exam\0Veda 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 A preprocessor command has # as the first character need not start on the first column need not start on a new line comes before the first executable statement has # as the first character need not start on the first column need not start on a new line comes before the first executable statement ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} Syntax error 100 10012 Runtime error g##g2 Syntax error 100 10012 Runtime error g##g2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} the behavior is undefined i=3 j=2 i=4 j=2 i=5 j=2 the behavior is undefined i=3 j=2 i=4 j=2 i=5 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 6 7 9 8 5 6 7 9 8 5 ANSWER DOWNLOAD EXAMIANS APP