Qs ) Introduction of c lamguage
Ans) C is very simple language .There is only 32 keyboard so c is very easy to master.Keyword are word that have some special meaning c language .C programme run faster that other programme which is written in different languages.
2)Identifier : It is the name given to centries such as variable ,function, structure etc.
3)Variable : It is used to store any kind of value .It only ca start with any alphabet not any numeric value .It also can start with a special character .A variable name cant should be match any data type and keyword name.
3)Data types:ata type are variable which are used for assigning a type to variable,
b)Data type in c programme
1)Integer Type
2)Floating Type
3)Character Type
c)Derive Data Type
1)Arays
2)Pointer
3)Structer
4)Enumeration
5)Int %d
6)Long %d
7)Float %
8)Double % d
9)Char $ c
10)String
4)Headers Files : A hundred files is a file with Extention which contain c funtion declation and macro defination and to be shared between several source of file .
They are two type of header file.
1)The file that the programme write
2)The file that come with your computer
5)How to include a header file into c programme :
# include <stdio.h>
# include <conio.h>
# It is a preprosser
Include --It help to link a header file in c programme.
Stdio.h -It is a header file
6)Types of header files in c programme :
a)Stdio .h - -Standard Input Output
Function--Print f (output),Scanf(Input)
b)Conio.h--Console Input Output header files
Function-Clrscr --To clear previous screen
c)Getch _To hold console screen
3)String.h-Collection of charactermake string
Function -Gets
Puts
4)Math,h _Used to mathematic function
5)Graphic.h-Used to draw any shape
6)dosh.h-Delay output
6)Comment in c programme :Single line comment
// this is the single comment in c programme
/* hay ther is multiline comment in c programme.
Thanks and let creat our first programme
#include <stdio.h>
#include<conio.h>
voidmain(){
Printf("This is my first programme ")Getch();
}
Ans) C is very simple language .There is only 32 keyboard so c is very easy to master.Keyword are word that have some special meaning c language .C programme run faster that other programme which is written in different languages.
2)Identifier : It is the name given to centries such as variable ,function, structure etc.
3)Variable : It is used to store any kind of value .It only ca start with any alphabet not any numeric value .It also can start with a special character .A variable name cant should be match any data type and keyword name.
3)Data types:ata type are variable which are used for assigning a type to variable,
b)Data type in c programme
1)Integer Type
2)Floating Type
3)Character Type
c)Derive Data Type
1)Arays
2)Pointer
3)Structer
4)Enumeration
5)Int %d
6)Long %d
7)Float %
8)Double % d
9)Char $ c
10)String
4)Headers Files : A hundred files is a file with Extention which contain c funtion declation and macro defination and to be shared between several source of file .
They are two type of header file.
1)The file that the programme write
2)The file that come with your computer
5)How to include a header file into c programme :
# include <stdio.h>
# include <conio.h>
# It is a preprosser
Include --It help to link a header file in c programme.
Stdio.h -It is a header file
6)Types of header files in c programme :
a)Stdio .h - -Standard Input Output
Function--Print f (output),Scanf(Input)
b)Conio.h--Console Input Output header files
Function-Clrscr --To clear previous screen
c)Getch _To hold console screen
3)String.h-Collection of charactermake string
Function -Gets
Puts
4)Math,h _Used to mathematic function
5)Graphic.h-Used to draw any shape
6)dosh.h-Delay output
6)Comment in c programme :Single line comment
// this is the single comment in c programme
/* hay ther is multiline comment in c programme.
Thanks and let creat our first programme
#include <stdio.h>
#include<conio.h>
voidmain(){
Printf("This is my first programme ")Getch();
}
