Files-keywords-Indentifiers used in C Language

( function() {
if (window.CHITIKA === undefined) {
window.CHITIKA = { ‘units’ : [] };
};
var unit = {
‘publisher’ : ‘thumbnature’,
‘width’ : 728,
‘height’ : 90,
‘sid’ : “appstreetz chitika above – both”,
‘color_site_link’ : ‘0000CC’,
‘color_title’ : ‘0000CC’,
‘color_text’ : ‘000000’,
‘color_bg’ : ‘ffffff’,
‘font_title’ : ”,
‘font_text’ : ”,
‘impsrc’ : ‘wordpress’,
‘calltype’ : ‘async[2]’
};
var placement_id = window.CHITIKA.units.length;
window.CHITIKA.units.push(unit);
var x = “”;
document.write(x);
}());

Files used in C Language

            Every C program has four kinds of files associatedwith it.

Files used in C Language

Files used in C Language

Files used in C Language

Source File : –

             When the users can be write the set of instructions of the code to the user known language , that type of code file is called ” Source Code File “. It must be contain main(). The file must be saved with an extension of .c (dot c).

Header File : –

             Header files names ends with ( .h ). The header files can be included in various functions , such functions are provided by all ” C “ viagra viagra. Compiler are includedin standard header file.

Ex:-

  • string.h : for string handling functions

  • stdlib.h : for some miscellaneous functions

  • stdio.h : for standard input output functions

  • math.h : for mathematical functions

  • alloc.h : for dynamic memory allocation

  • conio.h : for cleaning the screen

Object Files : –

              Object files are generated by the compiler as a result of processing the source code file. Linker uses this object file to produce an Executable file. Object files have ( .O)  extension.

Binary Executable Files : –

            The Binary executable file is generated by the linker. This file is converted to binary code to source code and it will be generated by the output.

Keywords :- 

Definition :- All keywords are basically a sequence of characters that have a fixed meaning. ” C ” hasa set of reserved words. “C”  has 32 keywords.Keywords must be written in small letters.

List of Keywords : –

auto break case const continue default
double else enum float for goto
int long register return short signed
size of struct switch type def union unsigned
void volatile do if static while
char extern        

 

Identifiers : –

Definition : –

        Indentifiers as the names suggest helps to identify data and other objects in the program. identifiers are basically the names given to program elements such as Variables, Arrays and Functions.

Rules for Forming Identifier names :- 

  1. It cannot include any special characters (or) punctuation marks  ex: ( #, $, ?, ., ^, etc ) except the undescore ” – “.
  2. There cannot be two successive underscores.
  3. The case of alphabetic characters that form the Identifier name is significant.
  4.  The Identifier name  must begin with an alphabet ( or ) an underscore.
  5. Identifiers can be one of the reasonable lenght.
  6. They should not contain more than 31 characters.

Examples of valid Identifier :-

roll number, marks, name, emp_number, basic pay, HRA , DA, dept_code, ROLL NO, EMP_NO.

Examples of invalid Identifier :-

23-studenrs, % marks, @name, #emp-number, basic.pay, -HRA, ( OA ), & dept_code, auto.

( function() {
if (window.CHITIKA === undefined) {
window.CHITIKA = { ‘units’ : [] };
};
var unit = {
‘publisher’ : ‘thumbnature’,
‘width’ : 728,
‘height’ : 90,
‘sid’ : “appstreetz chitika below – both”,
‘color_site_link’ : ‘0000CC’,
‘color_title’ : ‘0000CC’,
‘color_text’ : ‘000000’,
‘color_bg’ : ‘ffffff’,
‘font_title’ : ”,
‘font_text’ : ”,
‘impsrc’ : ‘wordpress’,
‘calltype’ : ‘async[2]’
};
var placement_id = window.CHITIKA.units.length;
window.CHITIKA.units.push(unit);
var x = “”;
document.write(x);
}());

Facebook Comments
Files-keywords-Indentifiers used in C Language
User Rating: 4.9 (1 votes)

Leave a Reply