C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 5 7 8 9 6 5 7 8 9 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The commas should be semicolons. The increment should always be ++k . The variable k can’t be initialized. There should be a semicolon at the end of the statement. The variable must always be the letter i when using a for loop. The commas should be semicolons. The increment should always be ++k . The variable k can’t be initialized. There should be a semicolon at the end of the statement. The variable must always be the letter i when using a for loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Makes the debugging task easier. Helps to avoid repeated programming across programs. All of these Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Makes the debugging task easier. Helps to avoid repeated programming across programs. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 10 12 15 11 10 12 15 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by reference call by value result None of these. call by value call by reference call by value result None of these. call by value ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... The number of successful read input values. The actual values read for each argument. ASCII value of the input read. 1 0 The number of successful read input values. The actual values read for each argument. ASCII value of the input read. 1 0 ANSWER DOWNLOAD EXAMIANS APP