.
.
, :
() , , , , .
.
: , , , .
/* */.
/* */
++ //
/* */ //
: (), [ ], { },:,,,;
, :
: =! ^ & * -:. < > /? + %
: = =!= &&:: -> ++ -- << >> <= >= += -= *= /= %= ^=:= &=
: <<= >>=
, , . . 32 . . .
, . . .
auto | double | goto | main | switch | while |
break | else | if | pointer | typedef | |
case | float | long | return | union |
: , , .
, 8- 16- .
. 0.
0, 0-7.
0 , 16- 0-9,A-F.
#include <stdio.h>
Main()
{
int a=3478,
b=06626,
c=0xD96;
printf(a=%d b=%d c=%d\n,a,b,c);
}
a=3478 b=3478 c=3478
,
1.1234.13
1 1.234 0.0035-6
-1 2.1-12 0.234
()
if (ch>=a&&ch<=z)
, , , esc- , , esc .
|
|
à \;
à \n;
à \\.
, . esc
esc- | |
\n | |
\t | |
\v | |
\b | |
\r | |
\f | |
\\ | |
\ | |
\ | |
\a | |
\ddd | ASCII- 1 3- |
\xhhh | ASCII- 1 3- |
, . esc- .
(). , :
a)
#define < > < >
#define PI 3.14
#define CHARACTER_B 'B'
#define version_oct 020 //
#define version_dec 16 //
#define version_hex 0x10 // 16-
#define NAME ALEKS
)
, , const
Main()
{
const int CHILDREN=8;
const char INIT=C;
const float NUMBER=1.65;
}