1,465 views
0 0 votes
void main()

{

float a=55555;

printf("%.2E %.2e\n",a);

}

a)5.56E+004 8.12e+268

b)compilation error

c) runtime error

d)555.55E+002

1 Answer

0 0 votes
answer is A) 5.56E+004 8.12e+268

e    Scientific notation (mantissa/exponent), lowercase    
E    Scientific notation (mantissa/exponent), uppercase
Position:
Show:

Related questions

8 8 votes
6 6 answers
982
982 views
GO Classes asked Jul 25, 2025
982 views
#include <stdio.h void fun() { static int count = 0; count++; printf("%d ", count); } int main() { for (int i = 0; i < 3; i++) fun(); return 0; }What is the output of the...
5 5 votes
3 3 answers
680
680 views
GO Classes asked Jul 25, 2025
680 views
Given the pseudocode below for the function remains(), which of the following statements is true about the output, if we pass it a positive integer $n>2$ ? int remains(in...
6 6 votes
4 4 answers
749
749 views
GO Classes asked Jul 19, 2025
749 views
int arr[ ]={1, 2, 3, 4} int count; incr( ) {return ++count;} main( ) { arr[count++]=incr( ); printf("arr[count]=%d\n", arr[count]); }The value printed by the above progra...