in C++ what are Parameters and Arguments?
jjspikejones 0 Newbie Poster
Recommended Answers
Jump to PostBoth terms mean the same thing -- they are what you pass to a function
void foo(int x) // x is a parameter void foo(char *x) // x is also a parameter here int main()) { int x; foo(x); // pass an argument to function named foo …
All 3 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
jjspikejones 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
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.