can anyone explain me how to use the inline function in c++ code with example?
ravanan 0 Newbie Poster
Recommended Answers
Jump to Post— mrnutty 761use the inline keyword. Note that the compiler can choose not to respect your request.
Jump to Post— mainsrktmachine 0Macro invocations do not perform type checking, or even check that arguments are well-formed, whereas function calls usually do.
In C, a macro cannot use the return keyword with the same meaning as a function would do (it would make the function that asked the expansion terminate, rather than the …
All 6 Replies
mrnutty 761 Senior Poster
ravanan 0 Newbie Poster
ravanan 0 Newbie Poster
mainsrktmachine 0 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
tajendra 9 Junior Poster 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.