C Programming int a[5] = {1,2,3}What is the value of a[4]? Garbage Value 1 2 0 3 Garbage Value 1 2 0 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 1, 2, 5 2, 1, 15 3, 2, 15 2, 3, 20 1, 2, 5 2, 1, 15 3, 2, 15 2, 3, 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is None of these 216 215 215 – 1 216 – 1 None of these 216 215 215 – 1 216 – 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 13, 10, 24, 50 50, 13, 24, 13 13, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 13, 10, 24, 50 50, 13, 24, 13 13, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 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 II and III I and II I, II and III III and IV I, III and IV II and III I and II I, II and III III and IV I, III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. II and III II, III and IV I, II and III I and II I, II, III and IV II and III II, III and IV I, II and III I and II I, II, III and IV ANSWER DOWNLOAD EXAMIANS APP