how many ways can you pass parameters to a function in c++
vudatalark 0 Newbie Poster
Recommended Answers
Jump to Posthow many ways can you pass parameters to a function in c++
Do you mean this?
- By value.
- By pointer.
- By reference.
Jump to Post>2. Using a pointer to simulate pass by reference.
Much better. ;)>Too late(?)
Better late than never.
All 7 Replies
Dave Sinkula 2,398 long time no c Team Colleague
Narue 5,707 Bad Cop Team Colleague
Dave Sinkula 2,398 long time no c Team Colleague
Narue 5,707 Bad Cop Team Colleague
Chainsaw 12 Posting Pro in Training
Narue 5,707 Bad Cop Team Colleague
Chainsaw 12 Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.