0% found this document useful (0 votes)
2 views5 pages

Understanding Pointers in C Language

The document discusses pointers in the C programming language, describing them as variables that store memory addresses of other variables. It explains how pointers can be initialized and used to handle dynamic data structures. Additionally, it touches on the importance of pointers in function calls and memory management.

Uploaded by

krutikap1410
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views5 pages

Understanding Pointers in C Language

The document discusses pointers in the C programming language, describing them as variables that store memory addresses of other variables. It explains how pointers can be initialized and used to handle dynamic data structures. Additionally, it touches on the importance of pointers in function calls and memory management.

Uploaded by

krutikap1410
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Page No.

-MlA
Date

Cwhuti Pointly EXPIuA_Lth_lrLdmeIe


LO_SLDYL un PYLhtth ddYCSSOE YuYIahLe
YUiukle
vsin POlhtl

A Pinte is Va labla fhad eroxe dddxessyeterenu. al


nCanqua
anahad Vaiable,_t is a deaiveddaia type in C languase
0
heu ane al alled dddxe48 aiade d t t cantaina
ho memx AddROLG C \auiablo agdg Nalua

ojdmoin
10 10o00
in d-10,p

A_ snter is a atiale hat starreg addse 98 dmere o


anothen Naiahle,

C U33 ontos fo handle ymdble, nsamdes pasLd to


uyndionsi ad c3eate dynamic daba tgudukeg
Pntess ctsQ uSeda le hadlina
oindg33 co uged t1nte, Jeg [Link] imOKAR
ohex dato txutUKe
1A Tage No. MLA
Date

Tpiex 8 h qointez Hou pintez iaticlized? Haaa St


ditfezent som anaug
A ite is a. oiade that [Link] addessYetesena o
dotes Vaatable..

pointa nitializaiom_ootnes
peKato Egeid main

vallue& paa
&mintCkd , Jd, 2d a,p,p

ndaqea goithes Voiable.


S3 ndtsediom ceator uhich xetusos value stared at
tha anemy add3eSS

clam aTCIY a dlediom of dements of similax dett


tupes udheseas the ointox is a Voiabe that stres
he addsess of andhex vatsiable._
Am s a size deddeg he mumbe.x d yaiables
tcam Stcoe [Link] o piter Yadiabe can Stet
yabiable of omly gne yaAaiable îm it
4 fiaize, ntexExscin asdaus ot poutey

Ointe CAm be nitialized usfollouss:


becl4C a data vaiable
2Dessse a pointea Yaxiale
3) Asstam addsess o a ddta voiable fo a.
poite
Vatdele ustnq &openatan and aqemant apexadaH.

d auy o pgimtes tlose2 the [Link] valliet


t aod 1S olleciiom o adde Sses cimtl0x
dada 1upe
ENoid mdn)
ntoal= a112,3
Page No. MALA
Date

[Link] call k Valuednd tall Ou


TChastoNLa.
A nu Vouduua nmAANS (allina
a maKaed, Ji palaMako k_
ALAllLa Arsdumnt valll 1
pailed th paamata
l uy Yaan. LcULS tallina a , nditpd. .
pauamta_ d a dkaunce htughiis tsquLmON
h pauAmakau
uhad g anlas ve ts ben@[Link] a
DCanam da uialepihA k tuo elomantg Juginq
unAtiom ih audo poit ag CKAUMLta

Ainda s a Vasiable hat staxe addaess


eferent anothe Vatiable.
aimosts at MRuhu k09t anina mexnp
ocatiom
inte4 pLide, ehiiol uya acri9inA ho

hya ud h gumLmpl dara

ndida.< ghdla.h
Voick Suap Cint a int b
int ein)d-
in m=10,m:20
pitE m= d,m
pairdCM=4d",nl,
Sunap Clom,gan
Page No.

Date
MLA

padf(m= m

You might also like