C Programming Week12
C Programming Week12
Course Material – SD, SB, PSK, NSN, DK, TAG – CS&E, IIT M 1 2
SD, PSK, NSN, DK, TAG – CS&E, IIT M
1
03/11/17
– one option – keep first three characters for marks and int y;
convert them while processing By itself it reserves
};
– a better option – use structures no storage
SD, PSK, NSN, DK, TAG – CS&E, IIT M 11 SD, PSK, NSN, DK, TAG – CS&E, IIT M 12
2
03/11/17
SD, PSK, NSN, DK, TAG – CS&E, IIT M 13 SD, PSK, NSN, DK, TAG – CS&E, IIT M 14
SD, PSK, NSN, DK, TAG – CS&E, IIT M 17 SD, PSK, NSN, DK, TAG – CS&E, IIT M 18
3
03/11/17
•
Note that the local changes to p1 •
would not affect the point p1;
pass by value
•
SD, PSK, NSN, DK, TAG – CS&E, IIT M 21