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 5 6 7 1 2 3 4 4 Runtime error Syntax error 4 5 6 7 1 2 3 4 4 Runtime error Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? getch() printf() main() system() start() getch() printf() main() system() start() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{7} None of these arr{6} arr[6] arr[7] arr{7} None of these arr{6} arr[6] arr[7] ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 11 10 None of These 9 11 10 None of These 9 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, 4 1 None of these 2, 4 2, 3 1, 4 1 None of these 2, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compiler Error will print Hello World Can't Say None of These Compiler Error will print Hello World Can't Say None of These ANSWER DOWNLOAD EXAMIANS APP