Date :2s Las2e23
5.Poimtins
gntoductin:
o.antrs- allau to wuot cuith adtuya !
o2. Memey addres
Letse n ua tha £van gitn-addn g hu
o3.Pointau (Painten
La thcal uaniabh
Uaniablo
hat
)
slow
:
an addras cator than a ualu
)To cuat int* ptn
int*
dotlanalioll
int ptr;
imt ptal, ptn 2
a pomten anunmal yaniablz
vnjable
#include <astneam Qutput
Using namespace stdy
ual of pc= 0xlfffblfO8die
int main 0 E
addnes ofca
e5
int pc, Ci
wham dsclaud a poue,aaamdon.
addwsat Wud ky th sytm is stoKA
in it.
Cout yatue of DC=<epte endi
Cout<< "addness af c = "K le
netunn 0)
, Page No:.27
pate :23b32024
#iNlude <iostneam>
using namespce std; Loutput: addness
intmain () i Valve stoned in pct= 5
int* pc, c 5
pc = &c;.
Cout << "Value stoned in pe addnes = <<
stoud ina
dereeehte- rmt-
platon
Shnays amd lotatins:
Output:
O1.#include <iostneam>
Using namespace std; &c[-0x7ffc269dc260
dr1l0ffc2b9dc2h4
&x[2] 0x7ffc2b9dc2b&J
int main() $ aray
Achess-of
int x[31 QTffc2b9dc2b0
ffn (int i=0; i<3; tti) t
Cout exf"e«ieelseendtr
out << "Addsiess of aMay x:"a;
Jnetum O;
02
Baliclyxo/
03include <iostneam>
al-^(11.
|using namespace stds 0utput:
int man) Second element: 20
Thnd
Enter the fotrth etetentr
ot <Second eement<x *x)<senty
Fourth element s -3
cout <<" Thind elem ent:" <l2] <s endl;
Cout <s
cin >>
Enten
* (2+3);
the fownth element ,
Cout <<t Fourth etermentK s
JIetum 0;