Vous êtes sur la page 1sur 8

1

C LANGUAGE
sI BaSa Am wrto iw<c AaqN walI k,ipQxr BaSa hE ijsdI Koj fEins ircI duAara
AmrIka dI bE<l lEbarxrI iw<c s,n 1972 iw<c kItI gLI | iLh puraNIA; BaSaw; ijwe
>bI Ate bI sI pI AE<l da AEfw;sf wrizn hE ijnH; dI Koj 1970 LI: iw<c kEn Tamsn
duAara kItI gLI | iLs BaSa iw<c bI sI pI AE<l nalo izAada faxa xaLIp id<te gLe hn
ijnH; iw<co mu<K hn:- int,float,char,double etc. sI BaSa nU, ikse wI Aapreix,g
issxm te claiLAa ja skda hE | sI dIA; hdaiLt; iw<c bhut sare Sbd ijwe >>ik if,if-
else,if-elseif Aaid wrte j;de hn| sI BaSa horn; BaSaw; ijwe paskl Ate Porxra<n nal
iblkul imldI juldI hE| iLh iL<k haLI lEwl BaSa hE ijsdI wrto >AEplIkeSn; de inrmaN
lLI kItI j;dI hE|
CHARACTER SET:-hrek BaSa da AapNa iL<k kErEkxr sE<x hu,da hE ijsdI wrto
nal qs BaSa iw<c k,m kIta ja skda hE ijwe >AElPabE<x,ifizxs,Ate spESl is,bl
Aaid| sI iw<c heX ilKe kErEkxr sE<x dI wrto >kItI j;dI hE:-
 ALPHABAT(A to Z)
 DIGITS(0to 9)
 SPECIAL SYMBOLS(#,<,>,@)
CONSTANT:- k;sxEx> dI wEilQ kde wI nhI >bdldI| iLh mEmrI iw<c ikse wI lokeSn
te sxor kItI ja skdI hE pr iLsdI wEilQ hmeSa qhI rih,dI hE | qdahrn:-
2x+3y=50
2,3 Ate 50 k;sxEx> hn te kde wI nhI >bdlde| iLsnU, A<ge do Bag; iw<c w,ifAa j;
skda hE |
 pYaiLmrI k;sxEx>
 sEk,frI k;sxEx>
PRIMARY CONSTANT:- iLh it,n trH; de hu,de hn :-
 INEGER CONSTANT
 CHARACTER CONSTANT
 REAL CONSTANT
 STRING CONSTANT
INTEGER CONSTANT:-iLh iL<k n,br hE ijs iw<c iL,xIzr wEilQ hu,dI hE| iLh fEsIml
poAaiL,x iw<c idKaiLAa ja skda hE pr dSmlw dI wrto >nhI kItI ja skdI ijwe
>0,255,543 Aaid|
CHARACTER CONSTANT:-iLh iL<k A<Kr nU, drsaqd>a hE ijwe >’a’,’o’.
REAL CONSTANT:-iLsnU, Ploix,g puAaiL,x wI ikha j;da hE| iLsnU, Aam tOr te
fEsIml puAaiL,x nal writAa j;da hEijwe >1.1,2.1 Aaid| iLh iL<k rkm d<sda hE jo
w<fI to w<fI te CoxI to CoxI ho skdI hE|
SECONDARY CONSTANT:-iLs dIA; heX ilKIA; iksm; hn:
 ARRAY
 STRUCTURE
 ENUMATION
 POITER
 UNION
VARIABLE:-iLh iL<k kImt hu,dI hE jo pYogram rn krn sme >cOks hu,dI hE|
wErILebl da n; qs mEmrI lokeSn nU, peS krda hE ij<Te qh wEilQ sxor kItI j;dI hE |
iL<k wErILebl 'c koLI wI kErEkxr Coxa te w<fa wrt skde h;| wErILebl iw<c iL<k
to nO >t<k Ate A,frskor (_) dI wrto >kItI ja skdI hE| iLs iw<c KalI spes dI wrto
>nhI kItI ja skdI|
KEY WORD:- ilh qh Sbd hu,de hn jo sI k,paLIlr iw<c pihl; to hI mOjud hu,de hn|
iLnH; dI wrto >wErILebl de tOr te nhI kItI ja skdI ikqik hrek kIwrf da iL<k w<Kra
mtlb hu,da hE| iLnH; nU, irzrw wrf wI ikha j;da hE| sI BaSa iw<c 32 kIwrf wrte
j;de hn:-
Auto double int struct break else long switch case
2
Enum register typedcf char extern returnunion const
float Short unsigned continue for signed void default
goto sizeof Volatile do if static while

CHARACTER CONSTANT:-sI BaSa ku<J Kas k;sxEx>; dI wrto >AaQxpu<x lLI kr


skdI hE| hrek ‘\’ iL<k A<Kr idKaqd.a hE B;we qh do A<Kr; de mel to biNAa howe
| iLnH; nU, skop wI ikha j;da hE|

CONSTANT MEANING
‘\A’ ALEART BELL
‘\B’ BACK SPACE
‘\F’ FORM FEED
‘\N’ NEW LINE
‘\R’ CARRIAGE RETURN
‘\T’ HARGENTAL TAG
‘\V’ VERTICAL TAG
‘\”’ DOUBLE QUOTE
‘\’’ SINGLE INVESTIQUAMES
‘\?’ QUESTION MARK
‘\\’ BACK SLASH

DATA TYPES:-hrk sI k,paLIlr car mu<K faxa xaLIp nU, wrtde hn:-
INTEGER(int)
CHARACTER(char)
FLOATTING DATA TYPE(float)
DOUBLE FLOATTING POINT(double)
iLnH; iw<co >bhitA; iw<c hor waDU faxa xaLIp wI wrte ja skde hn ijwe > long
int,long double Aaid |
INTEGER DATA TYPE:-iLh ikse Kas mSIn iw<c sare n,br; nU, wrt skda hE | iL,xIzr
da saLIz -32768 to 32767 t<k hu,da hE| wrILebl dI sxorej nU, sE<x krn lLI heX ilKe
hor Sbd wrte ja skde hn:-
 SHORT INTEGER
 LONG INTEGER
 SIGN AND UNSIGNED FORM
SHORT INTEGER DATA TYPE:-Aam tor te CoxI wEilQ lLI writAa j;da hE | iLsda
w<D to w<D saLIz 16 ibx t<k hu,da hE |
LONG INTEGER DATA TYPE:- iLh w<fI rkm lLI writAa j;da hE| iLsda saLIz 32 ibx
hu,da hE|
UNSIGN DATA TYPE:-iLh hmeSa sare pazeixw n,br nU, sxor krda hE| iLsnU, A<ge
car Bag; iw<c w,ifAa j;da hE:-
 UNSIGN CHARACTER
 UNSIGN INTEGER
 UNSIGN SHORT INTEGER
 4-UNSIGN LONG INTEGER
FLOATING POINT TYPE:- iLh 32-ibx iw<c sxor hu,da hE| iLs iw<c dSmlw dI wrto
>kItI j;dI hE| je w<fI rkm dI zrUrt howe t; iLs iw<c double dI wrto > kItI ja skdI
hE| iLs nal iLh 64-ibx faxa sxor kr skda hE|
CHARACTER TYPES:-iL<k A<Kr nU, iL<k kErEkxr ikha ja skda hE te iLsnU, char
nal pYIBaiSt kIta ja skda hE| iLh 8 ibx iw<c sxor hu,da hE| jdo >kErEkxr dI wEilQ
0 to >255 t<k howe t; yog saLIn te AnsaLIn kErEkxr nU, writAa ja skda hE |
DECLARATION OF VARIABLE:- SYNTAX- Data Type variable name
E.G. integer a, b;
Float x,y;
Double 2;
Char a,b;
3
sI nU, ikwe >rn kIta j;da hE :-
pihl; qs Polfr nU, Kolo.| TC.exe nU, Kolo|
#include<stdio.h>(standard output/input header file)
Main()(P,kSn da n;)
{ (SurUAatI brEkx)
Int a,b,c; (wErILebl ifklereSn)
A= 4;
B= 5;
C=a+b; (joR)
(Output)
} (AaKrI brEkx)
it,n rkm; nU, joRn lLI pYogram :-
#include<stdio.h>
Main(
{
Int a,b,c,d;
d=a+b+c;
Printf(“The value of A is %d”,a);
Printf(“The value of B is %d”,b);
Printf(“The value of C is %d”,c);
Printf(“The Sum of A,b,C is %d”,d);
}
iLs pYogram nU, rn krn lLI ctrl+f9 kIA dbaq Ate AaQxpu<x deKN lLI alt+f5 kIA
dbaq |
SCANF:-iLs P,kSn dI wrto .kIborf to >faxa AEx>r krn lLI kItI j;dI hE | iLh yUzr to
faxa dI m,g krda hE |
Main()
{
Int a,b,c;
Printf(“Enter the value of A”);
Scanf(“%d”,&a);
Printf(“Enter the value of B”);
Scanf(“%d”,&b);
C=a+b;
Printf(“The sum of these number is %d”,c);
}

OPERATOR & EXPRESSION:- Aaprexr k,ipQxr nU, iLh d<sda hE ik ikhRI lOzIkl
gNna krnI hE| iLh faxa te wErILebl nu, iLk<Xa krn te qs te gNna krn lLI writAa
j;d; hEE| iLsnU, heX ilKe Bag; iw<c w,ifAa j;da hE|
Arithmetic Operator:-iLh AamtOr te wrte jaN wale giNt de ParmUle ijwe joR
Gxaq guNa Ate Bag lLI writAa j;da hE|
Relational Operator:-
Logical Operator
Assignment Operator
Increament & Decrement Operator
Conditional Operator
Bitwise Operator
Special Operator
ARITHMATIC OPERATOR:-iLh Aaprexr Aam tOr te wrte jaN wale giNitk P,kSn
laqN lLI wrte j;de hn ijwe + - * / Aaid|
ASSIGNMENT OPERATORS:-iLh Aaprexr ntIja k<FN lLI writAa j;da hE| = insan iLs
Aaprexr lLI writAa j;da hE|
RELATIONAL OPERATOR:-iLh do rkm; dI tulna krn lLI writAa j;da hE| iLs lLI w<fa
hE j; Coxa hE <=,>=,>,<.
4
COMPARISION OR LOGICAL OPERATOR:-iLh iLh wI do rkm; dI tulna krn lLI writAa
j;da hE| ijwe ><=,>=,==,&&,!!,!,!= .
INCREAMENT & DECREAMENT OPERATOR;-iLh Aaprexr lUp de dOran wEilQ nU,
rpIx krn lLI writAa j;da hE|
qdahrN:- ++ Increment , --Decrement
CONDITIONAL OPERATOR:-iLh Aaprexr xrnrI Aaprexr wI AKwaqd>a hE| iLs de
it,n AEkspYESn hu,de hn:-
I= EXPRESSION 1 II=EXPRESSION 2 II=EXPRESSION 3
je pihla AEkspYESn shI howe t; hI dUja AEkspYESn AplaLI howega nhI >t; tIja
AEkspYESn AplaLI howega|
COMMA OPERATOR:-iLh do AEkspYESn; nU, il,k krn lLI writAa j;da hE| ijwe >
(x=10,y=5,x+y)
SIZE OPERATOR:-iLh iL<k k,paLIl xaLIm Aaprexr hE| iLh AaprEf>j de baLIx nU,
irxrn krda hE| AaprEf> koLI werILebl j; kOLI k;sxEx> j; kOLI faxa xaLIp wI ho
skda hE| ijwe > sizeoff(sum) T= sizeoff(int.)

DECISION MKING:-k,fISnl AEkspYESn Aam tOr te PEsle lEN lLI wrte j;de hn| sI
BaSa iw<c k,fISnl AEkspYESn laqN lLI bhut sarIA; sxexmEx>; wrtIA; j;dIA; hn|
ijwe > IF,IF-ELSE,SWITCH STATEMENT
IF STATEMENT:-iLh k,fISn lqN lLI writAa j;da hE| je id<tI hoLI k,fISn shI howe t;
sxexmEx> calU howegI nhI t; qs to AglI sxexmEx> clegI| sarI sxexmEx> brEkx;
iw<c l<gegI|
{
STATEMENT 1;
STATEMENT 2;
}
EXAMPLE A=20;B=10;
IF(A>B)
{ PRINTF(“A IS GREATER”); }

IF-ELSE:-iLh iL<k pYogram iw<c do to w<D k,fISn; nU, k,peAr krn lLI writAa j;da
hE| ijwe >
} else
{ False block off statement }
Else Sbd zrUrI nhI| iLh isrP loR pEN te hI writAa j;da hE| iLs trH; do sxexmEx>;
wEilQ de SEkspYESn de mutaibk calU hu,dIA; hn| je IF walI k,fISn glt ho jawe t;
hI Else sxexmEx> cldI hE|
EXAMPLE A=20;B=10;
IF(A>B)
{ PRINTF(“A IS GREATER”); }
ELSE {
PRINTF(“B IS GREATER”); }

SWITCH STATEMENT:-iLh mlxIpl ifsIjn meik,g k,fISn hE jo ik isrP mEic,g kes nU,
hI rn krda hE| ijwe
{ SWITCH EXPRESSION)
CASE VALUE1;
STATEMENT;
BREAK;
CASE VALUE 2;
BREAK;
A,ge iLse trH;
DEFAULT;
STATEMENT;
BREAK; }
5
GOTO STATEMENT:- sI ikse pYogram iw<co ikse iL<k puAaiL,x to dUje puAaiL,x
t<k is<De hI phu,cN dI AaigAa id,dI hE| iLs lLI sxexmEx> wrtI j;dI hE|
LOOP STATEMENT:- ikse k,fISn nU, war war wrtN lLI lUp wrte j;de hn| iLh qdo
>t<k rpIx hu,dI rih,dI hE jdo tk ik k,fISn glt na ho jawe| lUp it,n trH; de hu,de
hn:- FOR, WHILE, DO-WHILE |
FOR LOOP STATEMENT:-iLh Aam tOr te writAa jaN wala lUp hE | iLs iw<c it,n
AEkspYESn wrte j;de hn| pihla ifklereSn dUje iw<c k,fISn te tIje iw<c
iL,krImEx>/ifkrImEx> kIta j;da hE|
Syntax: FOR(EXPRESSION1;EXPRESSION2;EXPRESSION3)
EXAMPLE:- FOR(X=1;X<=10;X++) {
PRINTF(“COMPUTER”);
PRINTF(“%d”,X);

WHILE STATEMENT:-iLh iL<k AEx>rI k,xrol lUp hE| iLs iw<c pihl; k,fISn cE<k kItI
j;dI hE| jE shI howe t; hI sxexmEx> calU hu,dI hE| iPr dubara qhI pYosE<s hu,da
hE jdo t<k ik k,fISn glt na ho jawe| iPr iLh lUp to bahr cla j;da hE|
EXAMPLE:- WRITE A PROGRAM TO PRINT FIRST TWENTY NUMBER WITH THEIR
SUM.
#include<stdio.h>
#include<conio.h>
main()
{ int n,s=0;
N=1;
While(n<=20)
{ printf(“%d”,n);
S=s+n;
N=n++;
} printf(“the sum is %d”,s); }
DO-WHILE:-iLs iw<c lUp to pihl; k,fISn cE<k hu,dI hE Ate iPr lUp calU ho,da hE|
je k,fISn glt howe t; lUp calU ho j;d; hE| je k,fISn lt ho jawe t; lUp G<xo-G<x
iL<k war zrUr clda hE|
EXAMPLE: WRITE A PROGRAM TO PRINT THE FIRST TWENTY NUMBER WITH
THEIR SUM.
#include<stdio.h>
#include<conio.h>
Main()
{ int n,s=0;
N=1;
Do {
Printf(“%d”,n);
S=s+n;
N++; }
While(n<=20)
Printf(“sum is %d”,s); }

ARRAY:-iLh iL<ko trH; de faxa AaLIxm da smUh hE jo iL<ko nam te sxur hu,de
hn te lgatar mEmrI lEd>e hn ijwe ik iL<k klas n; da AEre te sxUfEx> da sE<x|
iLh zIro to SurU hu,de hn te [] dI wrto >krde hn| iLh do trH; de hu,de hn:-
 ONE DIMENSIONAL ARRAY
 TWO DIMENSIONAL ARRAY
ONE DIMENSIONAL ARRAY:-iLs iw<c isrP iL<k wErILebl hu,da hE| ijwe >:-
Int n[1]=10
DECLARATION OF ARRAY:-iLh iblkul wErILebl dI trH; hI ifkleAr kIta j;da hE|
Int n[2];
Char n[5];
6
INITIALIZATION OF ARRAY:-iLsnU, nU, ifkleAr krn sme hI iLiniSlaLIz kIta ja skda
hE:
Int n[5]={10,20,30,40}

TWO DIMENSIONAL ARRAY:-iLh AEre da iL<k joRa sxor kr skda hE| do wEilQz
nU, sxor krn lLI fbl brEkx; da iLstemal kIta j;da hE| INT DD[3][4]
INITIALIZATION OF 2D-ARRAY:-qse trH; hI | int abc[2][3]

FUNCTION:-iLh iL<k AapNe Aap c<lN walI sxexmEx> hE jo ikse Kas k,m nU, krn
lLI wrtI j;dI hE| iL<k war ifkleAr krn to baAd iLsnU, war war writAa ja skda hE
ikqik iLh men wEilQ nU, irxrn krda hE| iLh do trH; de hu,de hn:
 LIBRARY FUNCTIONS
 USER DEFINED FUNCTION

laiLbrerI P,kSn pihl; to hI ifkleAr kIte P,kSn hu,de hn| ijwe scanf,printf Aaid| iLhn;
nU, bdilAa nhI ja skda| iLnH; iw<c mu<K Prk iLh hE ik ij<Te yUzr ifPaLIf> P,kSn
wrte ja cu<ke hoN q<Te laiLbYerI P.kSn ilKN dI loR nhI|
yUzr ifPaLIf> P,kSn; dI loR qu<Te hI izAada pEd>I hE ij<Te pYogram nU, P,kSn;
iw<c w,fNa howe ikqik pYogram iw<c kLI trH; dIA; muSkl; Aaqd>IA; hn| iLnH;
nU, h<l krn lLI yUzr ifPaLIf> P,kSn; dI zrUrt pEd>I hE|
trIka:- sare P,kSn iLs trH; wrte j;de hn:
FUNCTION NAME(ARGUMENT)
{ LOCAL VARIBLE;
STATEMENT; =;
RETURN(expression); }

sara ku<J wrtNa zrUrI nhI| ku<J cIz; AapSnl hn| ijwe AargUmEx> nU, mrzI
Anusar writAa ja skda hE| AargUmEx> ilsx iw<c wErILebl nem hu,da hE te
kOme nal Al<g kIta j;da hE|| ijwe ab(x,y)

LOCAL VARIABLE:-ikse iL<k P,kSn nal s,b,iDt AaLIfEx>IPaiLrz j; wErILebl; nU,


lokl wErILebl ikha j;da hE| iLh iL<k P,kSn iw<c hI ifkleAr kIte j;de Ate wrte j;de
hn| ijwe > void sum(int x,int y)(rgument) {
Int a,b,c; (local variable) }

GLOBAL VARIABLE:-globl wErILebl men P,kSn to bahr ifkleAr kIte j;de hn| iLh
iL<ko faxa xaLIp de hu,de hn te pYogram iw<c kdo wI te ikte wI wrte ja skde
hn| #include<stdio.h>
#include<conio.h>
Main()
{ x=10;
Sum(); }
Sum() {
Int z;
Z=x+y;
Printf(“Sum is %d”,z); }

STORAGE CLASSES:-iLh iL<k P,kSn; da sE<x hu,da hE| hrek wErILebl de nal
iL<k sxorej klas wI hu,dI hE ijs iw<c qsdI jaNkarI j; lokeSn Aaid hu,dI hE| qdahrN
wjo >je koLI AaxomEixk wErILebl writAa jawe t; klas AapNe Aap iL<k mEmrI
lokeSn sxor kr lEd>I hE| klas sanU, iLh g<l; d<sdI hE:-
 wErILebl ik<Te sxor howega
 je iLiniSAl wEilQ na id<tI howe t; iLh kI howegI
 P,kSn dI ikhRI wEilQ kdo te ik<Te qpl<bD howegI
sI iw<c car sxorej klas; hu,dIA; hn:
 Automatic
7
 Register
 Static
 External
AUTOMATIC STORAGE CLASSES:-P,kSn iw<c Aam tOr te wrtI jaN walI T; dI bjaLe
lokl wErILebl ifkleAr kIta j;da hE t; ik jdo qh P,kSn iw<c daKl howe t; AapNe Aap
mEmrI PrI kr lwe| wErILebl da skop isrP do brEkx; iwckar hI sImt hu,da hE ij<Te
qs nU, ifPaLIn kIta igAa howe te qdo t<k hI hu,da hE jdo t<k k,.fISn calU rih,dI
hE| iLs k,m lLI kI wrf auto writAa j;da hE|
REGISTER STORAGE CLASS:-iLs iw<c faxa wErILebl iw<c sxor hoN dI T; sIpIyU
rijsxr iw<c sxor hu,da hE| iLsda skop wI wI do brEkx; de iwckar t<k hI sIimt
hu,da hE| iLsdI rPtar kaPI tez hu,dI hE| iLsnU, ifkleAr krn lLI kIwrf register writAa
j;da hE|
STATIC STORAGE CLASS:-iLs iw<c wEilyU sxor krn lLI static wErILebl dI wrto
>kItI j;dI hE| iLsdI SurUAatI wEilyU zIro to SurU hu,dI hE te iLsda skop wI do
brEkx; de iwckar t<k hI sIimt hu,da hE ij<Te qsnU, nU, ifkleAr kIta igAa hE| iLnH;
iw<c mu<K A,tr iLh hE ik iLs iw<c wErILebl gaiLb nhI hu,da B;we >P,kSn smapt
ho cu<ikAa howe|
EXTERNAL STORAGE CLASS:-iLh wErILebl sare P,kSn; to bahr ifkleAr kIte
j;de hn te sare hI P,kSn; iw<c wrte ja skde hn| iLh wErILebl kipQxr dI mEmrI
iw<c sxor hu,de hn| iLh zIro to SurU hu,de hn te pYogram de pUra Ktm hoN t<k
wrte ja skde hn|

STRUCTURE:-iL<k faxa AaLIxm de smUh nU, peS krn lLI AEre dI wrto >kItI
j;dI hE| jekr sanU, Al<g Al<g iksm de faxa AaLIxm nU, iL<k nam te sxor krn dI
loR howe t; sxrkcr dI zrUrt pEd>I hE| iLs iw<c kI wrf struct writAa j;da hE| iLs de
PIlf; nU, AElImEx> j; mEb>r ikha j;da hE| iLs iw<c AsI ikse wI trH; da faxa xaLIp
wrt skde h; ijwe float,int,char Aaid| hrek mEb>r Al<g faxa xaLIp nal s,b,iDt ho
skda hE te ilsnU, sxrkcr xEg ikha j;da hE|
SYNTAX IS TO DECLARE STRUCTURE:-
Struct student {
Char name[20];
Int rollno;
Float fees;
Char city[20]; }

ARRAY OF STRUCTURE:-AsI iL< dUje nal s,b,iDt faxa de ParmEx nU, drsaqN lLI
sxrkcr dI wrto krde h; | kLI war AsI sxrkcr da iL<k AEre itAar kr lEd>e h; ijs iw<c
hrek AElImEx> iL<k sxrkcr wErILebl nU, drsaqd>a hE| qdahrN wjo >
struct class student[20];
Define an array called Student,containing 20 elements.Each elements to be defined
under the structure class.
Struct marks {
Int hindi;
Int English;
Int math; {
Main() }
Struct marks[40];

SOME OTHER FUNCTIONS:-qprokt P,kSn; to iLlawa sI iw<c hor wI kLI trH; de P,kSn
wrte j;de hn|
CHARACTER INPUT FUNCTION:-iLh P,kSn kI borf to ikse A<Kr nU, AEx>r kraqN sme
wrte j;de hn ijwe
1. GETCHAR():-iLh P,kSn kIborf to A<Kr AEx>r krn lLI writAa j;da hE Syntax
Getchar();
8
2. GETCHE():- iLh P,kSn wI A<Kr AEx>r krda hE pr iLh AEx>r bxn dbaqN dI
qfIk nhI krda|
3. PUT CHAR():-iLh ikse A<Kr nU, skrIn te idKaqN lLI writAa j;da hE| Syntax
putchar(‘A’);

STRING INPUT & OUTPUT FUNTIONS:-


GETs()-iLh P,kSn kIborf to iL<k sxir,g AEx>r krn lLI writAa j;da hE| iLh spes to
baAd wala Sbd nhI idKa skda| Syntax gets(variable name);
PUTS():-iLh wI qse trH; hI k,m krda hE| Syntax is puts(variable name);
STRCPY:-iLh iL<k sxir,g nU, dUje iw<c ka<pI krda hE| strcpy(target,source)
STRLEN:-iLh P,kSn Sbd dI l,baLI d<sda hE| Length=strlen(“COMPUTER”)
STRREV:-iLh Sbd nU, qlxaqN lLI writAa j;da hE| strrev(name);
STRUPR & STRLWR:-iLh sxir,g Coxe A<Kr; nU, w<fe te w<fe A<Kr; nU, Coxe krn
lLI wrte j;de hn|
STR CMPI:-iLh P,kSn iblku<l strcmp() dI trH; hI hu,da hE|
STRCAT:-iLh do Sbd; nU, Aaps iw<c joR ke ilKN lLI writAa j;da hE|