DO NOT MISS

Ads

Monday, 27 June 2016

Control String (Conversion Characters)

Control String:-

It’s used to compare the individual char’s with one character group for each output data item, each character must be % sign fallowing conversion character in indicating the type of data.

Argument list:-
These are individual output data items arguments can be written as variables/expressions.

CONVERSION CHARACTERS
Character
Meaning
%c
Single character
%d
Decimal integer
%f
Float value without exponential
%e
Float value in exponent form
%g
Float type depending on value
%i
Signed decimal integer
%o
An octal integer without leading zero
%s
String
%u
Unsigned decimal integers
%x
Hexadecimal integer without leading ox
%hd
Short integer
%lu
Long unsigned int
%ld
Long integer
%lf
Double
%lf
Long double

__________________________________________________________________________________
__________________________________________________________________________________

Greataims

 
Copyright © 2016 Computersadda. Designed by @ Computersadda Team - Published By Greataims