You are on page 1of 1

The <stdio.

h> : Information about the standard input/output library


Arguments: Between parenthesis () ;
Statements: Between braces {} ;
The \n produce a new line
Data Types: Integers, Float, Char, Short, Long, Double.
Sizes for them => Arrays, Structures, Unions, Pointers and Functions

%d print as decimal integer


%6d print as decimal integer, at least 6 characters wide
%f print as floating point
%6.2f print as floating point, at least 6 wide and 2 after decimal point

For is usually appropriate for loops in which the initialization and increment
are single statements and logically related, since it is more compact than while
and it keeps the loop control statements together in once place.

You might also like