-
Notifications
You must be signed in to change notification settings - Fork 0
/
cnotes.rtf
22 lines (20 loc) · 1.07 KB
/
cnotes.rtf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%d The integer format specifier.\par
%i The integer format specifier (same as %d).\par
%f The floating-point format specifier.\par
%e The scientific notation format specifier.\par
%E The scientific notation format specifier.\par
%g Uses %f or %e, whichever result is shorter.\par
%G Uses %f or %E, whichever result is shorter.\par
%o The unsigned octal format specifier.\par
%s The string format specifier.\par
%u The unsigned integer format specifier.\par
%x The unsigned hexadecimal format specifier.\par
%X The unsigned hexadecimal format specifier.\par
%p Displays the corresponding argument that is a pointer.\par
%n Records the number of characters written so far.\par
%% Outputs a percent sign\par
The actual data type of the value of all pointers, whether integer,
float, character, or otherwise, is the same, a long hexadecimal number
that represents a memory address. The only difference between pointers
of different data types is the data type of the variable or constant that
the pointer points to.