C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 Syntax error Runtime error 1 2 3 4 4 5 6 7 4 Syntax error Runtime error 1 2 3 4 4 5 6 7 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. 1 2, 4 1, 4 None of these 2, 3 1 2, 4 1, 4 None of these 2, 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 12 10 11 13 22 12 12 13 22 13 14 14 22 14 12 13 22 11 11 11 12 10 11 13 22 12 12 13 22 13 14 14 22 14 12 13 22 11 11 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... ASCII value of the input read. 0 1 The number of successful read input values. The actual values read for each argument. ASCII value of the input read. 0 1 The number of successful read input values. The actual values read for each argument. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 12 14 Garbage Value 15 13 12 14 Garbage Value 15 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. 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. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. ANSWER DOWNLOAD EXAMIANS APP