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); 7 6 9 5 8 7 6 9 5 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A special symbol other than underscore An alphabet A number Both of the above A special symbol other than underscore An alphabet A number Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 14 10 1 0 14 10 1 0 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 None of these 6 Garbage Value 0 5 None of these 6 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg defg efg cdefg bcdefg fg defg efg cdefg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} Error 1 100 Error 1 100 ANSWER DOWNLOAD EXAMIANS APP