C Programming Which of the following is not a correct variable type? int double real float char int double real float char ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage vlaue Garbage Value Garbage value 0 0 Garbage Value Code will not compile 0 0 Garbage vlaue Garbage Value Garbage value 0 0 Garbage Value Code will not compile 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 3 2 1 0 infinity loop no output 3 2 1 3 2 1 0 infinity loop no output ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) None of these 10 50 15 30 None of these 10 50 15 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Members of a structure R-values Both of the above Arithmetic expressions Local variables Members of a structure R-values Both of the above Arithmetic expressions Local variables 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 );} 1 0.5 0.25 9 2 1 0.5 0.25 9 2 ANSWER DOWNLOAD EXAMIANS APP