Your SlideShare is downloading. ×
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Pointers in c
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Pointers in c

947

Published on

Pointers in C, a detailed overview.

Pointers in C, a detailed overview.

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
947
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
267
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. :3/,2039,8 1!747,2233 !7080390/ $,09 7!,9, 7!,9, $.% :3/,2039, 1!747,2233
  • 2. !439078!439078,700,8944082449,0705747,2207 8/4083 9300/94,55147.01477:333 90:89139085,.0410747,;9,3/49,4930938,8.43.059..,3-025020390/,3/2,08907/70,297:0!439078,70:89;,7,-088250,84907-:93/,9,950839 14,9 .,709.-:990850.,.,7,.90789.2,089349.0,-08 9894704390,//708841,34907;,7,-041.43.0739500.,7,943 39*,2 39 *!97 *!97 *,20/8.:88 90,-4;089,90203983901443/08.75943
  • 3. 390,-4;089,9020398 178989,9020398:8990/0.,7,943,80,839,,94341903907,950;,7,-03,20/,8 *,2 070,83903/ 89,902039 0,70:89/0.,73903907,950543907;,7,-03,20/,8 *!97 9907/ 89,902039 90543907;,7,-039,0/99020247,//708841903907,;,7,-0 *!97 $97:.9:7041!43907;,7,-0 *,2 ,7,-0,20 *!97 !43907,7,-0,20 ,:0$9470/ //7088$9470/ 02474.,943 02474.,943
  • 4. $4,..47/39490,-4;005,3,943,3/.43.0730/90897:.9:7,5,990731440/ 0.,3.43.:/09,9903907,;,7,-03,20/,8 *,2 ,890;,:089470/8 ,;3,202474.,9438, 070,890543907;,7,-03,20/ *!97 ,890;,:089470/89020247,//708841903907,;,7,-0 *,2 ,3/,8,34907202474.,9438, 409:857399080;,7,-08,8;,:0,3/907202474.,943974:90839,.9.,8:55479415747,223,3:,0 4/0$35509 57391 0244. 1*,2:,8,:0/ *,2 *,2 57391 0244. 1 *!97: *!97 57391 ,:089470/3 *!97: *!97 57391 ,:054393974: *!97/ *!97 4430,;09005,3,94341,9080,-4;089,9020398
  • 5. 390;07178989,90203990 57391 1:3.9438/85,3902088,09908:554790//0391078,8 : ,3/ / 070 :8:80/1473/.,9390;,7,-0 8202474.,943 -0.,:8090202474.,943,,8-03:3830/39007950,3/87057080390/974: ,//708841 4507,9479;,7,-03,20%03/ /0391078/.3/.,908903907,;,:089470/39002474.,943,4.,90/9490;,7,-0 *,2 3903/ 89,902039 .86:90897,9147,7/,3/8,8 /85,90202474.,943,4.,90/9490543907;,7,-03,20/,8 *!97 $,20,8,-4;090/039107:80/07094/85,20244.8 : .3/.,908:3830/3907,;,:0,3/8,207057080390/974: ,//708841 4507,9479;,7,-03,20
  • 6. 3907/ 89,902039 90;,:089470/39020244.,4.,90/9490543907;,7,-0.420894908.7003%0;,:089470/39020244.4190543907;,7,-08:899020247,//708841903907,;,:0390,8989,9020398,/,89 89,90203990,.9:,543907;,:0090;,:094.90543907;,7,-05439894894-0/85,0/%04507,947,8 .,0/,8,89078 8:80/94/85,90;,:089470/9490850.10/4.,943-54390703.0147290,-4;0/8.:88430,;0,.0,75.9:7041543907,3/543907;,7,-088:554790/-90839,41098,;0,8.700384941908089,9020393901443
  • 7. 0247 4.,943070390,-4;08.70038499020247;,:083-924/003.039007950,86:90,707,30%84:95:9890574/:.9410; .42507,3/,8-9897:.9:70
  • 8. 09:8/8.:88902502039,943419080543907;,7,-0,833974/:.9472,33074/0$35509 ;4/8,5!97 39 *,2 39 *,2 39*%025 *%025 *,2 *,2 *,2 *,2*%025 3144380.9430,;0,.0,705,3,9434190,-4;0835509
  • 9. 390,-4;0835509 0,;0,1:3.9433,20/ 8,5!97 ,;3945,7,20907 /0130/,83907,543907950%05,7,209073,20/,8 *,2 ,3/ *,2 5,79174290/01394341901:3.9430,;090.,35,79.43.0730/390 2,3 ,3/9894-0,88:20/%0.,389,90203941 2,3 2:89,;094,7:20398 /0130/9 ,//708841 4507,947,8 8,5!97 *!97 *!97 070390,-4;0.,389,90203990;,:089470/390202474.,943,4.,90/9490;,7,-0,8 *!97 ,3/ *!97 85,880/974:90202474.,94307090,7089470/$4905,7,20907/0130/,8 *,2 ,3/ *,2 ,7054393949020247
  • 10. 4.,94389470/,8;,:047,70543939490;,:089470/39020244.9,990,;04390;07178989,902039 ,4.,3907,;,7,-0 *%025 8/0.,70/3903/89,90203990;,:089470/390202474.,94341543907;,7,-0 *,2 9,99,8 8,8830/94904.,;,7,-0 *%025 %03390;0730989,902039,87/ 90;,:04190309543907;,7,-0 *,2 09889470/394901789543907;,7,-0,8 *,2 990,8989,902039 *,2 8,,3,8830/-90;,:089470/3904.,;,7,-0 *%025 437,9:,9434:,//430904-8,1907908000.:9435,99073 4:7/0870.4208941,80,/8,550/90;,:054393-9020244.89470/390543907;,7,-08939070801
  • 11. 39,32,3 *!97 *!97 *!97 *!971907,38,5!97 *!97 *!97 *!97 *!97 *,2 *,2 *,2 *,2
  • 12. 7018.:884380.,209434174290,-4;0/8.:8843 90,89078 4507,947.,3-0.43.:/0/,8 90;,:089470/3202474.,943 070,8 90,//708841 4507,947.,3-0.43.:/0/,8 90,//70884190;,:0 409:8.420,-9.480949020247897:.9:70,3/907543907705708039,9438034,543907;,7,-04/89020247,//708841-:93950;,7,-08,8 ,339007 ,14,947,.,7,.907 9-0.,0/70850.9;0,83907,543907 14,9543907 47.,7,.907543907,.419080950543907-01:7907.,8810/,8 30,7 1,7 ,3/ :0 5439078%4:3/0789,3/90-,8./110703.0-090039080950841543907 0300/9470.,59:,90,10.43.0598412024747,3,943,3/20247,//708838.020
  • 13. %403,-0901441/,9,-090032.74574.088478,3/902024790700898,8094170.,0/,8 ,9,:8 9398,9,:80,.7087085438-09497,38107-941/,9,357,.9.,8.03,7400307,:80-9 -9 -9/,9,-:8..,3.,77-9/,9, -9/,9,47-9/,9,3,3389,3.084-;4:8,2.74574.088479-9/,9,-:88,,81,89079,3-9/,9,-:8070:8395041/,9,-:88.425090/0503/:54390,7.90.9:70412.74574.08847$2,7 90708,34907,7.90.9:7041:8.,0/,8,//7088:8 480/990842,3,//7088902.74574.08847.,3,..088098:55480 190,//7088-:8/9412.74574.088478-989039.,3,..088 94905407 4.,9438.,.:,90/,8320247%014439,-084890/,9,,3/,//7088-:8/9,8
  • 14. .74 ,9,:8 //7088 :8 , 4/0 41574.08847 0247 507,943 -98 -98 #0, -98 -98 #0, -98 -98 #0,
  • 15. !7490.90/ -98 -98 #0,
  • 16. !7490.90/ -98 -98 #0,
  • 17. !7490.90/!039:2 -98 -98 ) #0,
  • 18. !7490.90/74290,-4;09,-0 -,80/43 $,7.90.9:70 98901,.99,939007,41,3/-014700700,70:83412024743.4208394:8003.094.43.0598,8 05,3/0/20247 ,3/ 0903/0/20247 .,2037405,,3/90/7;075747,2948:554799080070.,0/,8 00 $.45094/8.:88908084:9418.45094902,9907
  • 19. #:333,3,55.,9434;07 $43,341902.74574.0884741-9/,9,-:8,3/,-9,//7088-:84:/-0:80/%4,..088,34190-908 0945407 4.,9438902.74574.08847:80-9!708907840;073-97089078902,;,:09,9.,3-089470/-0 %4,..08820244.-043/98 0:8094708907 8,8 80203970 ,3/ 41180970 3.43:3.9433/00/90949,20248/;/0/394,3:2-0741:3980,..425783- 4.,9438,.8:.:398.,0/802039,3/,,8-0389,4.,9433:2-07.80,.9/;8-0-%880203970.439,3890,//708807090802039-038 070,890411809.439,389041180941/,9,47.4/0174207090802039-0384438,5.947,705708039,943
  • 20. 4.
  • 21. 8507;/04202478.43.073 90802039,//70888070,890411809;,:0419089 -90398,-4;08020398070174290802039704389 -9;,:0.,3-0.438/070/%4790,.,7,.907 ,990850.10/4.,943,8 0300/94.43;07998,//708894,14723..,3:3/0789,3/%88/430-82579390802039,3/4118098/0-8/00944-9,3,-9,//7088$:554790/839, .,71,7 897 8970709020244. ,890;,:0,8.,7,.907
  • 22. 8390,-4;0835509 , ,7543907 8,,8970,90/,8,-9543907,3/.439,38-49 802039 ,3/ 411809 :0543907 8,84-9543907.439,38-49 802039 ,3/ 411809 98.425:90/-099079,31,7543907/:0949070,8439,9 10:8070,943,4507,9478,83.425,784393 1,7 543907950;,7,-0890390.,.:,9432,9,085,.0974:-9;,:0,3/708:90980110.90/ 3904907,3/90 :0 543907,702:.24703472,0/30,7543907843-9439:80890.:77039.43903984190 .4/0802039 70890747.:77039.43903941 /,9,802039 708907147908020395,79 070904118095,798,34907-930,7543907
  • 23. 4439,-08489008803.0419080/11070399508415439078 ,80247 4/0 ,9, 4/0$0 ,9,$04/0 !43907 !43907%3 30,7 30,7 $2, 30,7 30,7 0/:2 1,7 30,7 425,.9 30,7 1,7 ,70 1,7 1,7 :0 1,7 :0 4709,3 802039
  • 24. $39,.9.,8:554799490.43.05941543907880338#9.0,/8:554790/90.43.059990-0,:99,,850.980.,32,30,8,5747,22070/8.:889023144380.9438 $03/390//7088,8,3,7:2039 %88908,20.43.0590,/.43.:/0/3570;4:880.9438 8901:3.943,8,//7088;,7,-0974:985,7,2090747 ,7:2039 398,5!97 39 *,2 39*,2
  • 25. :3.943#09:733!43907070398,5574,.90.43.059415439078.43.0730/949020247;,:09,9,8-003709:730/974:901:3.943 39 1:3. 39*,2 709:73 *,2 390,-4;0835509901:3.943 3,20/,8 1:3. ,;034,3,7:2039/0130/-:9,;0,709:734139007543907950390/0139435,79 90;0789 89,902039/0.,708,3/39,08,39007;,7,-0,8 *,2 39,0/-90;,:0
  • 26. 070,8507/01394390,//70884190;,7,-0.4208-,.9490.,31:3.943,8709:73;,:0!,88377,9490:3.9433,77,.,3-05,880/94901:3.943/0130/974:90-,804.,9434190,77,,804.,9434190,77,.,3-0/0130/,890202474.,94341909 3/04190,77,850.10/ 39*77( 392,3 5,88!9777 *77 709:73
  • 27. ;4/5,88!9777 39 *,2!97 57391 9 3/0;,:0419077,/ *,2!97 070390,-4;0835509 904-,/0130/,77,3,20/,8 *77( 4180 85,880/974:90 2,3 1:3.943,8.,,80,705,88390,77,;,:0974:90,//708841-,804.,943909839,0/9490543907;,7,-04170.0;303/%020247;,:041909 3/04190,77,88,/945,8894901:3.943,8,3,7:2039,3/39,0/39039007950543907;,7,-0,8 *,2!97 ,3/90.43.0730/57391:3.9431:7907573990;,:089470/39,920247,//708803.0904:95:9419057391:3.943,190700.:943848,8.88:1141908973/0130/03/9080380 90.43.0594190,77,8,8 90;,:0809889470/390.439:4:8202474.,9434110/80$4,8-5,8839020244.419 3/04190,77,0.,3109.9040,77,;,:0974:5439078:89-3.70203939490543907;,7,-0
  • 28. 820247,4.,943897:.9:704190,77,8$3020384377, 39*77( *77( *77( *77( *77( *77( 8 39 *,2!97 *77 *,2!97
  • 29. 4:-020384377, 39*77(( 820247,4.,94390.36:0 *77(( *77(( *77(( *77(( *77(( *77(( 890543907;,7,-0,8832039 39 *!9777 *77(( *,2!97
  • 30. 8,-4;020247,4.,94390.36:0 83.090543907;,7,-0,89020247,//708841-,804.,9430.,3,840990;,:0889470/390,77,,8 39 *!9777 *77(( *,2!97 *77(( *!9777 80412024.4:23 0;,:08 *77((
  • 31. 43.:843 $3020384377, *77( *!9777 80412024-4. 090;,:08 4:-020384377, *77(( *!9777 80412024.4:23 47 *77(( *77 *77( 0;,:08 84:-0/20384377,90.43.05914494,32:9/203843, ,77,
  • 32. #09:733,77,1742:3.9430700709:7390,77,;,:0974:5439078397008:-80.9438 5439079439007 39 *,21:3. 39 1:3. 89,9.39*77(( 709:73 39 *77 390,-4;0835509709:73;,:08,543907.098 39,0/9490,349075439079503907,;,7,-0,8*,2
  • 33. #09:733,77,1742:3.9430700709:7390,77,;,:0974:5439078397008:-80.9438 5439079439007 39 *,2 (1:3. 39 1:3. ( 89,9.39*77(( 709:73*77 390,-4;0835509709:73;,:08,543907.098 39,0/9490,349075439074177,4195039007 3,20/,8*,2(
  • 34. #09:733,77,1742:3.9430700709:7390,77,;,:0974:5439078397008:-80.9438 5439079439007 39 *,2 ((1:3. 39 1:3. (( 89,9.39*77(( 709:73 39 (( *77 390,-4;0835509709:73;,:08,54390794-,80,//708841 77, .09839,0/9490,3490754390794 77,;,7,-0,8*,2((
  • 35. 77,41!439078$3.0!43907;,7,-0,,8.439,3,//7088 8490,77,415439078,70:8990.40.9434120247,//708808 39 *77( 39*,2 *,2 *,2 *77( *,2 *77( *,2 *77( *,2%0;,:08.,3-0109.974:90 147445 ,81448
  • 36. 09.3;,:0974:,77,415439078 147 ** * 57391 *77/(/ * *77*( 8507.43.:8430.,389470543907;,7,-093,34907543907;,7,-0,8 39 *!97 *!97 *!97 *,2 *,2 *!97 *,2 *!97 *!97 *!97 *!97 57391 //// *,2 *!97 *!97 *!97
  • 37. !4390794,7,.90777,$3.0,7,.907,7041-903808490806:039,20247,4.,9435,9907341.,7,.90788,/,8$3020384377, .,7*.77( *.77( *.77( *.77( *.77( *.77(
  • 38. 0703,-4;0.,7,.907,77, 0300/9405.9850.1903:.,7,.9079390804190.,7.,907,77,/0130/%8.,3-07057080390/39072841543907;,7,-04-;4:841.,7,.907950,8 .,7 *.!97 *.774*.!97,890-,804.,9434190.,7,.907,77,/0130/,8*.77 0*.77( *.!97
  • 39. 203843,,7,.90777,$,20,83907,47,3490795090.43.05941,77,88,20,;390806:039,2024897:.9:70,8*.77(( *.77(( *.77(( *77(( *77(( *77(( 07090,77,2,-0/0130/,8 .,7*.77(( 070,8.47708543/3543907;,7,-0-0 .,7 *.!97 *.77
  • 40. $9738,3/!4390780.,3 939,0,8973;,7,-09,349078973;,741/3,2.8047,;3:334380:9390.,80415439078 0.,3/4846:900,8,81448 .,7*897( .,7 *897( *897*897
  • 41. 07747,8,8832039349,40/070,8 .,7 *.!97 .,7 *.!97 *.!97*.!97
  • 42. 8832039,40/
  • 43. 77,41!439078948973807039077,4154390747,77,412024,//7088080,;090;,:08,890-,804.,94341,38973 .,7 *.!97( -. 01 89470970;090;,:080,;089,902039,8 57391 88 *.!97( *.!97( 8354390741950.,7,.907 90.42507,:942,9.,,883,89002039,83: 070,8390.,7,.907,77,( 0300/9405.9,88390,89.,7,.907,83:
  • 44. $97:.9:70!43907$97:.9:70,70,34907090740304:8.40.94341-:93/,9,9500.,37057080399974:.43.0730/897:.9:70950543907;,7,-0 897:.9-. 39*,2 14,9*1,2 .,7*.,2 $, 897:.9-. *!97 897:.9-.,-. *597 ,-.
  • 45. 74290,-4;0/8.:88430,//0.,70/,897:.9:70950543907;,7,-0,8 *!97 ,3/,8830/9974:90,//70884190897:.9:70;,7,-0,8 ,-. %4109.90;,:08 57391 /1. *!97*,2 !97*1,2 !97*.,2 070,8,-4;0 030:807543907;,7,-094897:.9:7090335,.041 /49 0300/94:80 ,7744507,9478390.,8003,5,79.:,7;,:04190897:.9:7088,/945,88974:,1:3.943%034.,30099040897:.9:70;,:089.,3-0/430-.,.:,93904118094190.43.0730/897:.9:70

×