0% found this document useful (0 votes)
6 views7 pages

Pointer ClassIII Notes 5th March 2023

Pointer_ClassIII_Notes

Uploaded by

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

Pointer ClassIII Notes 5th March 2023

Pointer_ClassIII_Notes

Uploaded by

editzakshay137
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 7
5103/2083 in t—] 4 ;tinko = 5 hax ch =*a?s = int **& pty = 2a 5 chase p = &chs ~ int 4K Ptr | = Abty 5 Int * 2k 4 btyd= 2htyl5 double pointer We just Rave to add stars + A Inta= 53 4 int A p= &a5 a Tint 3k 3k bs // Fointer to: pointe. a | 08 216 104 Wl a [let Eee i ~ veanicu wit Cam cCour<< kas 104 cout << a5 5 pur << bo 104 Couk << &p5 216 ouk << ps 5 leu ces Qe couk << &q 5 308 fcout << eq 5 |0F out 22 KGS S lo¢ — Address eh gq 216 3 Addn ye Baddns Sp-peintes *q > Volus present at addvess which — IS Stored i S ~ a Kg, in qf {ee Geb teeter 68 Sea €xo | Fs hepa Soe | PS Pr re —_ is I }Q can be reached via pl AAC p3 ee ie 3) pl can be reached via i PEAK pig BRIA pS meat ae HAK pS: acon he ee int * b= &a5 couk << “Before "<< end > cout <2 a5 VE couk << b 5 104 cout <2e*ps 5 vit Cp)s Couk << “After” << endgj ~ Courcca js 6 ff cout will remmatn same Ae citi) olve (int *x*g) Hee ##G = 9G + 1S oe ot ao 7 gah mad ~ he Ts will be“ brinted ~ EE CEe eee eee ee ee eee eee eee eee veanicu witeam _ | —_____flve 8 an enn0r as we as . _ —Anying te store addness fn 2 fies Suey tte, ( h. 7 + — Hege% block which 18 not possible. ail 216 b4-———[s]—<“CsS per b a : _| x pty = block a . 2k pty 9 Addnes, et = pointer 7 [> int 33k pty = 3 ei a +5 ae lcour <

You might also like