Can a function be called from more than one place in a program in c plus plus?

1 answer

Answer

1063741

2026-04-21 03:00

+ Follow

In C and C++, as well as in many (all?) languages, a function can be called from more than one place in a program. That's the purpose of functions - to encapsulate pieces of code that are needed in more than one place in the program.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.