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 9 6 7 8 5 9 6 7 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 1 Error 100 0 1 Error 100 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 1 0 Compilation Error 33 -1 1 0 Compilation Error 33 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor All of these Takes care of macros Acts before compilation Takes care of include files Takes care of conditional compilation All of these Takes care of macros Acts before compilation Takes care of include files Takes care of conditional compilation ANSWER DOWNLOAD EXAMIANS APP
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]);} 0 5 Garbage Value None of these 6 0 5 Garbage Value None of these 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 50 Compiler Error None of These 10 50 Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP