Thursday 13 September 2007

C best coding questions with answer

(q) What will be output of the following program ?   #include"stdio.h" void  main(){ long double a=55555; clrscr(); printf("%.2LE,%.2Le",a); getch();   }   output:5.56E+04,5.56e+04 %e or %E represent print the number in exponential format. %e means output has small letter e. %E means output has capital letter e.   (q) What will be output of the following program ?   #include"

No comments:

Post a Comment