Learn "C" Language In Very Short.
1.Primary Data Types
- Character
- Integer
- Float
- Double
- Array
- Pointer
- Structure
- Etc
- Character-1Byte
Ex-a,b,c
- Integer-2BYTES
- Float-4Bytes
- Double-8Bytes
Important For Remember Now
Printf-Use To Print The Character , Result or Output
Scanf-Use To Read Character or A Value Assign
Integer-%d
Character-%c
String-%s
Float-%f
Header File-#include<conio.h>
#include<stdio.h>
Semicolon-;
Open&Close Braces-{
}
Clscr();-Clear Screen
Getch();-Hold Screen
Example Of C Programe
*Write A Programe To Calculate Addition Of Two Int Nos.In "C"
#include <stdio.h>
void main()
{
int x,y,z;
printf("Enter two nos");
scanf("%d%d", &x,&y);
z=x+y;
printf("Sum=%d" , z);
}
In Turbo C Programe Use
Save -(with.c)
Compile -Alt+f9 Or f9
Run -Ctl+f9
O/P -Alt+f5
-SHAHRUKH KHAN(CSE)

Comments
Post a Comment