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 II and III III and IV I and II I, II and III I, III and IV II and III III and IV I and II I, II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 3 1 2, 4 1, 4 None of these 2, 3 1 2, 4 1, 4 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 0 0 0 0 5 4 3 2 1 Infinite Loop None of These 0 0 0 0 5 4 3 2 1 Infinite Loop None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 12 6 7 It will not compile because not enough initializers are given 24 12 6 7 It will not compile because not enough initializers are given ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 0713 Syntax error 713 1289 0289 0713 Syntax error 713 1289 0289 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 0 0 1 None of these 1 1 1 0 0 0 0 1 None of these 1 1 1 0 ANSWER DOWNLOAD EXAMIANS APP