C Programming int a[5] = {1,2,3}What is the value of a[4]? 1 0 Garbage Value 2 3 1 0 Garbage Value 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It is a unary operator All of these The operand can come before or after the operator It associates from the right It cannot be applied to an expression It is a unary operator All of these The operand can come before or after the operator It associates from the right It cannot be applied to an expression 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 What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 5 4 3 2 1 Compilation Error Infinite Loop None of these 5 5 5 5 5 5 4 3 2 1 Compilation Error Infinite Loop None of these ANSWER DOWNLOAD EXAMIANS APP
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} 0 Error 10..10 10..50 0 Error 10..10 10..50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam None of these Veda Exam Veda Exam\0Veda Exam None of these Veda Exam Veda Exam\0Veda ANSWER DOWNLOAD EXAMIANS APP