C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value 6 Compiler Error 5 Garbage Value 6 Compiler Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[6] None of these arr{7} arr[7] arr{6} arr[6] None of these arr{7} arr[7] arr{6} ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE No output at all. C NOITANIMAXE C Syntax error NOITANIMAXE No output at all. C NOITANIMAXE C Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 2 1 0.25 0.5 9 2 1 0.25 0.5 9 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? int unsigned int No data type Depends upon the type of the variable to which it is pointing. float int unsigned int No data type Depends upon the type of the variable to which it is pointing. float ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Both of the above Members of a structure Local variables R-values Arithmetic expressions Both of the above Members of a structure Local variables R-values Arithmetic expressions ANSWER DOWNLOAD EXAMIANS APP