Purpose of control string in scanf function


Question1. Explain how the 'putchar' function differs from the 'printf'. Illustrate with an appropriate example of your own.

Question2. What is the purpose of control string in 'scanf' function?

Question3. How is each character group in the control string identified?

Question4. If a control string in 'scanf' function contains multiple character groups, how are the character groups separated?

Question5. If whitespace characters are present in control string, how are they interpreted?

Question6. How can the maximum field width for data item be specified in a 'scanf' function?

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Purpose of control string in scanf function
Reference No:- TGS05893

Expected delivery within 24 Hours