Explain various types of primitive / basic data-types in c
Answers
Answered by
1
Various data-types in c are
Integers (Int)
Ex = Int i = 6;
Float (Float)
Ex = Float a = 2.34;
Char(Char)
Ex = Char Ch = 'a , d';
Thanks
Integers (Int)
Ex = Int i = 6;
Float (Float)
Ex = Float a = 2.34;
Char(Char)
Ex = Char Ch = 'a , d';
Thanks
Answered by
1
*integer (int)
format specifier is %d
*character (char)
format specifier is %c
*float(float)
format specifier is %f
format specifier is %d
*character (char)
format specifier is %c
*float(float)
format specifier is %f
Similar questions