What is programming language c: Easy thinking this is call mother of language,and strutural
language,Step by step problem solbing system called programming c.
Defination of programming c:
#inlcude
#include
Vodi main(){
Clrscr();
Int a=10;
Printf(“%d”,a);
Getch();
}
Explaing:#mean
preprocesive deractiv
Inlcude mean
connectivity sytem with library function.
Stdio mean standard
inpur and out pur.this is carry all library function.void main mean programe
starting gate,conio mean consol input and outpur.
Printf() is a printing
function,
Overview of c:
1)data type
2)operator
3)array
4)function
5)for loop
6)while loop
7)sturcture
I will provide some
programe for your idea
Testing program
#include
#include
void main()
{
clrscr();
//printf("%s",20>180?"Arafat":"Nazmul");
/*
int a=10,b=5,c;
c=a>b?a:b;
printf("%d",c);
*/
getch();
}
Other program
2)
#include
#include
int show(int m,int n){
int p;
p=m+n;
return(p);
}
void main(){
clrscr();
int a=10,b=20,c;
c=show(a,b);
printf("%d",c);
getch();
}
No comments:
Post a Comment