3 345 i operators a symbol which indicates an

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 5, .345623 , 23.4E+8, 47.45e+6 String Constants : “Hello world” , “Have a nice day!” Complex Constants : real part + imaginary part * I ex : 12.3 + 3.45 * I Operators : a symbol, which indicates an operation to be performed. Operators are used to manipulate data in program. Delimiters : Language Pattern of c-language uses special kind of symbols : (colon, used for labels) ; (semicolon terminates statement ) ( ) parameter list [ ] ( array declaration and subscript ), { } ( block statement ) # ( hash for preprocessor directive ) , (comma variable separator ) Data Types ( pre defined ) Type Typical Size in Bits char 8 unsigned char 8 signed char 8 int 16 or 32 unsigned int 16 or 32 signed int 16 or 32 short int 16 unsigned short int 16 signed short int 16 long int 32 long long int 64 signed long int 32 unsigned long int 32 unsigned long long int 64 float 32 double 64 long double 80 void -- Minimal Range –127 to 127 0 to 255 –127 to 127 –32,767 to 32,767 0 to 65,535 Same as int –32,767...
View Full Document

Ask a homework question - tutors are online