Please enable JavaScript.
Coggle requires JavaScript to display documents.
TOKENS IN C PROGRAMMING - Coggle Diagram
TOKENS IN C PROGRAMMING
SPECIAL SYMBOLS (PUNCTUATORS)
Includes characters used to structure the code
Examples
Braces {}
Parentheses ()
Brackets []
Semicolon ;
Comma ,
OPERATORS
Symbols that perform specific operation on variable or values
Examples
Arithmetic: (+, -, *, /
)
Logical: (&&, ||)
Relational: (<, >, ==)
STRINGS
Used to represent text in C Program
Examples
"hello world"
" C programming"
Sequence of character enclosed in double quote
IDENTIFIERS
Must start with a letter or underscore
Can contain letter, digits and underscores
User defined names for variables,functions,arrays etc,
Case-sensitive and must not match any keywords
KEYWORDS
Cannot be used as variable names
Examples
int
return
if
Reserved words predefined by the C Language
CONSTANTS
Examples
Integer:10
Float:3.14
Character: 'A'
Symbolic
:
#define PI 3.14
Fixed values assigned to variables that can't change during program execution