C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Veda Exam\0Veda Exam Exam Veda None of these Veda Exam\0Veda Exam Exam Veda None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 444 333 433 000 Garbage Value 444 333 433 000 Garbage Value 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 and II I, II and III II and III III and IV I, III and IV I and II I, II and III II and III III and IV 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=5 j=2 i=4 j=2 the behavior is undefined i=3 j=2 i=5 j=2 i=4 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} Garbage Value 0 5 6 None of these Garbage Value 0 5 6 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A c Error 65 A c Error 65 ANSWER DOWNLOAD EXAMIANS APP