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) 15 10 50 None of these 30 15 10 50 None of these 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 30 20 25 24 None of these 30 20 25 24 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? -10 -110 10 110 450 -10 -110 10 110 450 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor All of these Takes care of macros Acts before compilation Takes care of conditional compilation Takes care of include files All of these Takes care of macros Acts before compilation Takes care of conditional compilation Takes care of include files 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 0 0 0 Garbage Value Code will not compile Garbage value 0 Garbage vlaue Garbage Value 0 0 0 Garbage Value Code will not compile Garbage value 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ short int char float long short int char float long ANSWER DOWNLOAD EXAMIANS APP