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 1 2 3 4 Syntax error 4 5 6 7 Runtime error 4 1 2 3 4 Syntax error 4 5 6 7 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Preprocessing During Execution During Editing None of these During linking During Preprocessing During Execution During Editing None of these During linking ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} no output 3 2 1 3 2 1 0 infinity loop no output 3 2 1 3 2 1 0 infinity loop ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... 0 The number of successful read input values. 1 ASCII value of the input read. The actual values read for each argument. 0 The number of successful read input values. 1 ASCII value of the input read. The actual values read for each argument. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); rem = 3.14 % 2.1; ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? auto main default register case auto main default register case ANSWER DOWNLOAD EXAMIANS APP