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 Exam Veda Veda None of these Exam Exam\0Veda Exam Veda Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 None of These 1 Garbage Value 10 None of These 1 Garbage Value 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 = 4, c = 8 a = 3, c = 8 a = 4, c = 6 b = 3, c = 6 b = 4, c = 6 a = 4, c = 8 a = 3, c = 8 a = 4, c = 6 b = 3, c = 6 b = 4, c = 6 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 is the difference between a declaration and a definition of a variable? A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. There is no difference between them. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. There is no difference between them. A declaration occurs once, but a definition may occur many times. 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, III and IV I, II and III II and III III and IV I and II I, III and IV I, II and III II and III III and IV I and II ANSWER DOWNLOAD EXAMIANS APP