C-20

189 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
189
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

C-20

  1. 1. Lecture 20Lecture 20 Version 1.0Version 1.0 More on StructuresMore on Structures
  2. 2. Copying structureCopying structure elementselements Piece-meal copyingPiece-meal copying vsvs Copying as a wholeCopying as a whole
  3. 3. 3Rushdi Shams, Dept of CSE, KUET, Bangladesh
  4. 4. Nested StructuresNested Structures Complex data types can be createdComplex data types can be created
  5. 5. 5Rushdi Shams, Dept of CSE, KUET, Bangladesh
  6. 6. Passing structurePassing structure variablesvariables Just like the ordinary caseJust like the ordinary case
  7. 7. 7Rushdi Shams, Dept of CSE, KUET, Bangladesh
  8. 8. Passing structurePassing structure variablesvariables In an easy wayIn an easy way
  9. 9. 9Rushdi Shams, Dept of CSE, KUET, Bangladesh
  10. 10. Structure PointersStructure Pointers Hmm, having some differences fromHmm, having some differences from everyday pointers…everyday pointers…
  11. 11. 11Rushdi Shams, Dept of CSE, KUET, Bangladesh
  12. 12. Call by reference withCall by reference with structuresstructures Not that much different than everydayNot that much different than everyday call by referencecall by reference 
  13. 13. 13Rushdi Shams, Dept of CSE, KUET, Bangladesh

×