Course Content
History of C Language
0/2
Basic Structure of C Program
0/1
Types of Errors
0/1
Language Fundamentals
0/1
Data Types and Modifiers
0/1
Programming with C Language
About Lesson

Format Specifier

Format specifier is a special character followed by a percentile(%) symbol that is generally found any formatted function like printf() and scanf().  They are called as format specifiers because they are specifying the format of the data that must be accepted from the user or the format of data that should be displayed to the user.

The following are various format specifiers of C Language:

%c

Character

%d, %i

signed decimal integers

%f

decimal floating point

%s

string of characters

You cannot copy content of this page