0% found this document useful (0 votes)
4 views10 pages

Memory Address and Value Management

The document discusses memory management, specifically focusing on variable declaration, memory addresses, and pointer expressions. It explains how values are stored in memory and how pointers can be used to manipulate these values. Additionally, it includes examples of pointer operations and their corresponding memory addresses.

Uploaded by

Avishek kumar
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)
4 views10 pages

Memory Address and Value Management

The document discusses memory management, specifically focusing on variable declaration, memory addresses, and pointer expressions. It explains how values are stored in memory and how pointers can be used to manipulate these values. Additionally, it includes examples of pointer operations and their corresponding memory addresses.

Uploaded by

Avishek kumar
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

fointer a doç v4d data y in

Coitais memo adaressu do thei value.

Sinc the memoy addres de


memoy wteu proqram
Mánipubai data lohed in

|Bnchis

Menmary Ceuu Adseo


IWhenw we deelae a Vaiasu, yen 1

loaien to te th valu
hyvopnaai
6S,s3S

a loarim
-he valu 20 n he lo ain.

tho Valu o e'th


alce
|20< vall
Va. name
4040 t Addres
Sinte memarg
Mame
0he Vau. <valu
memayike ay
addyeco no,
Seet Vau. al

loatim.
(4o4e
name poLtea
Voniasy' Theo

Valu.
poit
Pojnt Poit Pointw
Cons ta vales

Memayaatbe.

deplndn Qnal

operareu

cleni.

x[Lo7.
deplard do bpnito

prna me

data
va ther pouns
lo
Vaia

Jalu
Nate:

big

Li alocali Mem
Te declaraiono
Comfi
hau
Sine Conran ome
tht
valuo

t[?1 ?
Cowen
P
*P
|Initiaiza-m
hu addres
o a van a pohute

o a a, b

|P=ka

Vaud.

= NULL
u- p = 0

NULL

Valu csn poite


Va X
he con make same
caa ai ahto in dline raams
h ,y, z, *P

EX:
|P>P

a vemasi throug ia paate


(Unce a

Tho cone

deregrnci'g
7.d is lrd a ddd Y.u\n", , t )

þr ( d is lrid a add 7.u\n', pr, pr)

Lo

add 4lo

Jo 4108
Dee.
4104
0
4106

4104
Lo 10

Lo
[2s|
wit, Vals

a= A';
1z12sj
prlo2s, 421846:
CHAJN Of poJNTEKS

P
Valu

Muu melireti a
Van

**þ>

100
PoNTER ExPRE cSIONS|

2: (s*(- (*p)))/ (*P)

pitt;

mty hmltieiain.
man

it a, b, *PI, *P2, X,4) 2;

b4
P1= &a;
P2: lb,

Pnnt Addre
prot ("\»);

pit=7dig%d', x,);

pri{n azd, b=% d, 4, b);


prit- ("2z y.d', z);

Addrw
Add Yeoq bz 4ol6

You might also like