What is wrong with the program?double d;scanf("%f", &d);A. Instead of %f , %lf should be used for formattingB. Instead of %f , %d should be used for formattingC. Instead of %f , %D should be used for formattingD. Instead of %f , %n should be used for formatting

Showing Answers 1 - 1 of 1 Answers

priya

  • May 29th, 2006
 

A%d is used for integer%D,%n are not valid

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions