Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

"/ /"

) (bytes
,
Range

)Size (bytes

Type

0 to 255

8 bits

unsigned char

-128 to 127

8 bits

char

-32,768 to 32,767

16 bits

int

0 to 65,535

16 bits

unsigned int

-32,768 to 32,767

16 bits

short int

-2,147,483,648 to 2,147,483,647

32 bits

long

0 to 4,294,967,295

32 bits

unsigned long

-3.4*1038 to 3.4*1038

32 bits

float

-1.7*10308 to 1.7*10308

64 bits

double

-3.4*104932 to 3.4*104932

128 bits

long double



morsrugo@gmail.com
050-7458212

-
:
)(0-20,000
)(0-35,000




)(0-120
' 'A ''Z


: ,
,

:C
; Type varName

;int counter

;float k1, k2, k3


;int age, long white
;char letter, digit, space

"/ /"

- printf
.C -

.
- %

- \n
.

>#include <stdio.h
)void main (void
{
;int a=5,b
;b=a+1
;a=19
;)printf(the value of a is:%d\n, a
;)printf(the value of b is:%d\n, b
}

printf
.

:
:C

- #include
"
> <.
stdio.h
.

 counter0 :
= k1=32.98 :

stdio.h ""
/
).( standard input/output

;int counter = 0, x
;float k1 = 32.98

:
:

;a=3
;b=3
;c=3

the value of a is:19


the value of b is:6

;a = b = c = 3

" :
* , a , ^, 2
char
char



/ "
ASCII
)(American Standard Code for Information Interchange

"/ /"

)(constant
=
:


ASCII

30000 ,20 :
5.0 ,34.234 :
) \t , \n : (
) a=b+c , hello : (a

#define
#define MAX_SIZE 1000 :
MAX_SIZE
1000
"

MAX_SIZE
MAX_SIZE2 10002 -
MAX_SIZE

MAX_SIZE
#define PI 3.14159265358979323846 :

)(constant
ASCII value

Character

008

backspace

\b

009

tab

\t

010

newline

\n

011

vertical tab

\v

012

form feed

\f

013

carriage return

\r

034

039

063

?\

092

\\

000

Null

\0

"/ /"

#define
" "

: "
"
#define PERIOD 165 :
165
#define PERIOD 2*60+45 :
?
twice = PERIOD * 2  twice = 2*60+45*2

#define PERIOD (2*60+45) :


twice = PERIOD * 2  twice = (2*60+45)*2 :

You might also like