C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 0 2 Garbage Value None of These 0 2 Garbage Value None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Needs input data. Must contain at least one function. None of these Need not contain any function. Needs input data. Must contain at least one function. None of these Need not contain any function. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The program will not enter into the loop. The loop will run infinitely many times. There will be a compilation error reported. Prints the value of 0 one time only. A run time error will be generated. The program will not enter into the loop. The loop will run infinitely many times. There will be a compilation error reported. Prints the value of 0 one time only. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE RED WHITE BLUE ERROR ERROR RED RED ERROR RED WHITE BLUE RED WHITE BLUE ERROR ERROR RED RED ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} complier error no error no output 1 0 complier error no error no output 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ANSWER DOWNLOAD EXAMIANS APP