www.thecareerplus.com
The CareerPlus
Home Technical Resources Programming Functions
Thursday 09th September 2010
 
 
How can I specify a variable width in a scanf() format string?

Discuss it!          


You cant!.

An asterisk in a scanf() format string means to suppress assignment. You may be able
to use ANSI stringizing and string concatenation to accomplish about the same thing,
or you can construct the scanf format string at run time.

Discuss it!          

CrackTheIntervew.NET
Advertisement
 
Top! Top!