C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 1 2 -2 Error 1 2 -2 Error 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. There will be a compilation error reported. Prints the value of 0 one time only. A run time error will be generated. The loop will run infinitely many times. The program will not enter into the loop. There will be a compilation error reported. Prints the value of 0 one time only. A run time error will be generated. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: *float ptr; float ptr; float *ptr; None of these *float ptr; float ptr; float *ptr; None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} asiha haasi hai absiha asiha haasi hai absiha ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} P None of These N M P None of These N M ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Nothing is printed exam is printed XAM is printed Compiler Error Nothing is printed exam is printed XAM is printed Compiler Error ANSWER DOWNLOAD EXAMIANS APP