C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 5 6 Garbage Value None of these 0 5 6 Garbage Value None of these 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... ASCII value of the input read. 0 The number of successful read input values. 1 The actual values read for each argument. ASCII value of the input read. 0 The number of successful read input values. 1 The actual values read for each argument. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 20 10 10 11 11 10 20 21 10 10 20 21 21 10 20 21 20 10 10 11 11 10 20 21 10 10 20 21 21 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(int x) { return x=x+1; } int funct(); void funct(int) { printf(“Hello"); } None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); void funct(int) { printf(“Hello"); } None of these void funct(x) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? % None of these / + * % None of these / + * ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} None of These GOOD BAD Compiler Error GOOD None of These GOOD BAD Compiler Error GOOD ANSWER DOWNLOAD EXAMIANS APP