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); 8 9 6 7 5 8 9 6 7 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=3 j=2 i=5 j=2 i=4 j=2 the behavior is undefined i=3 j=2 i=5 j=2 i=4 j=2 the behavior is undefined ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor All of these Takes care of macros Takes care of conditional compilation Acts before compilation Takes care of include files All of these Takes care of macros Takes care of conditional compilation Acts before compilation Takes care of include files ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? float No data type unsigned int int Depends upon the type of the variable to which it is pointing. float No data type unsigned int int Depends upon the type of the variable to which it is pointing. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? Program do no return a value. -1 2 1 Program do no return a value. -1 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: None of these *float ptr; float ptr; float *ptr; None of these *float ptr; float ptr; float *ptr; ANSWER DOWNLOAD EXAMIANS APP