circuitcellar.com
Magazine Support   Digital Library   Products & Services   Suppliers Directory 
 
 





 
Test Your EQ #145— Answer

Answer 5

The code would indeed work; the output would be:


n=         5
The asterisk in the format specifier indicates that the next argument is to be used for field width. In this case, the argument f is used to specify a field width of 10 characters for the value of n (which is 5).

Contributor: Naveen PN

Published: August-2002

   

E-mail eq@circuitcellar.com with questions or comments.

Back to Questions