C Programming Lecture 13 Format Specifier in C language in Hindi

preview_player
Показать описание
In this lecture i am explain the concept of format Specifier in Hindi.

#inhindi
#psclassesforcse
#cprogramming #clanguage #bigginer #bigginers #format #specifier

Related video link:
C Programming Lecture 12 Token in C Language in Hindi

C Programming Lecture11 Data types in c language in Hindi

C Programming Lecture 10 Escape Sequence in c Language in Hindi

C Programming Lecture 9 (printf Function) First Program in C language in Hindi

C Programming Lecture 8 Relational and Logical Operator in Hindi Part 2

C Programming Lecture 7 Relational and Logical Operator in Hindi Part 1

C Programming Lecture 6 Modulus Operator in Hindi

C Programming Lecture 5 Unary Operator in Hindi:

C Programming Lecture 4 Arithmetic operator in Hindi:

C Programming Lecture 3 Assignment operator in Hindi

C Programming lecture 2 Characteristics of C language in Hindi

C programming Lecture 1 Introduction of C Programming

---------------------------------------------------------------------------------------------------------------------
Format specifiers in C are used for input and output purposes.
Using format specifier the compiler can understand that what type of data is in input and output operation.
---------------------------------------------------------------------------------------------------------------------
Format Specifier Type
%c Character
%d Signed integer
%e or %E Scientific notation of floats
%f Float values
%g or %G Similar as %e or %E
%hi Signed integer (short)
%hu Unsigned Integer (short)
%i Unsigned integer
%l or %ld or %li Long
%lf Double
%Lf Long double
%lu Unsigned int or unsigned long
%lli or %lld Long long
%llu Unsigned long long
%o Octal representation
%p Pointer
%s String
%u Unsigned int
%x or %X Hexadecimal representation
%n Prints nothing
%% Prints % character
--------------------------------------------------------------------------------------------------------------------
Note:
In printf statement when we are passing Format Specifier then at the time of execution automatically format specifier replaced with corresponding value.
Рекомендации по теме