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); 9 7 6 8 5 9 7 6 8 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 Garbage Value None of These 10 1 Garbage Value None of These 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) power(x, 2) power(2, x) sqr(x) pow(2, x) pow(x, 2) power(x, 2) power(2, x) sqr(x) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop 3 2 1 3 2 1 0 no output infinity loop 3 2 1 3 2 1 0 no output ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions All of these Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} Compiler Error mmmm nnnn aaaa mmm nnn aaa None of These Compiler Error mmmm nnnn aaaa mmm nnn aaa None of These ANSWER DOWNLOAD EXAMIANS APP