Documente Academic
Documente Profesional
Documente Cultură
Structure of a C’ program:
Documentation section
Preprocessor section
Definition section
Global declaration section
main ( )
{
Declaration part;
Executable part; Identifiers:
}
Scope of variables:
Scope of a variable implies the availability
of variables within the program. Variables
have two types of scopes.
i) Local variables
Data type: ii) Global / External variables
C supports the following 4 classes of data
types. Constants:
1 Primary The item whose values cannot be changed
2. User defined during the execution of program are called
3. Derived constants.
4. Empty
User defined:
type def
Derived: Delimeters:
arrays These are the symbols, which has some
pointer syntactic meaning and has got significance.
structures These will not specify any operation.
Join Us on FB :
Join US on Whatsapp