C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam Veda Exam Exam\0Veda Veda None of these Exam Veda Exam Exam\0Veda Veda None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop 3 2 1 0 no output 3 2 1 infinity loop 3 2 1 0 no output 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} Error 6 4 5 Error 6 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 100 100 100 5 100 5 0 20 5 0 100 100 0 100 100 100 100 100 5 100 5 0 20 5 0 100 100 0 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 3, c = 8 a = 4, c = 8 b = 3, c = 6 a = 4, c = 6 b = 4, c = 6 a = 3, c = 8 a = 4, c = 8 b = 3, c = 6 a = 4, c = 6 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Comma operator Assignment operator Conditional operator Division operator Unary-operator Comma operator Assignment operator Conditional operator Division operator Unary-operator ANSWER DOWNLOAD EXAMIANS APP