C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 0 2 None of These Garbage Value 0 2 None of These Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Comma operator Unary-operator Conditional operator Assignment operator Division operator Comma operator Unary-operator Conditional operator Assignment operator Division operator ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=4 x=5 Error x=0 x=1 x=4 x=5 Error x=0 x=1 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 No data type float Depends upon the type of the variable to which it is pointing. unsigned int int No data type float Depends upon the type of the variable to which it is pointing. unsigned int 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 );} 0.25 1 0.5 9 2 0.25 1 0.5 9 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} None of These Error three zero None of These Error three zero ANSWER DOWNLOAD EXAMIANS APP