Keywords in C programming
Keywords There are certain reserved words, called keywords that have standard, predefined meanings in C. these keywords can be used only for their intended purpose; they cannot be used as programmer defined identifiers. The ANSI (American National Standards Institute) C defines the following 32 keywords.
Data Types C supports several different types of data, each of which may be represented differently within the computer‟s memory. A data type defines the amount of memory that will be used during program execution, valid range of values it can represent, and the operations that may be performed on it. C is strongly typed language so every variable in C must be declared of specific type explicitly. Data types can be either predefined or derived. The C language supports four basic data types, each of which are represented differently within the computer memory. The basic types for a particular compiler are listed below:
auto | double | int | struct |
---|---|---|---|
break | else | long | switch |
case | enum | register | typedef |
char | extern | return | union |
const | float | short | unsigned |
continue | for | signed | void |
default | goto | sizeof | volatile |
do | if | static | while |
Data Types C supports several different types of data, each of which may be represented differently within the computer‟s memory. A data type defines the amount of memory that will be used during program execution, valid range of values it can represent, and the operations that may be performed on it. C is strongly typed language so every variable in C must be declared of specific type explicitly. Data types can be either predefined or derived. The C language supports four basic data types, each of which are represented differently within the computer memory. The basic types for a particular compiler are listed below:
Other C Programming:
C programming beginner from Hello World
Keywords in C programming
Palindrome and armstrong in function C programming
Nepali Flag in C programming
switch statement using character in C programming
Control Statement in C programming
Control Statements in C programming (if and else)
Program for Stack Using switch( PUSH POP DISPLAY and empty
Examples of while, Do while
Keywords in C programming
Palindrome and armstrong in function C programming
Nepali Flag in C programming
switch statement using character in C programming
Control Statement in C programming
Control Statements in C programming (if and else)
Program for Stack Using switch( PUSH POP DISPLAY and empty
Examples of while, Do while
Post a Comment