Friday, July 31, 2009

How do I write a printf statement for a unsigned integer 40000 left justified in a 15digit field w/8digits?

This is a question that deals with C programming.

How do I write a printf statement for a unsigned integer 40000 left justified in a 15digit field w/8digits?
printf("%-15u\n",40000);





provided I understood it correctly.


No comments:

Post a Comment