r/C_Programming • • Jun 11 '26

mimicking of function overloading

25 Upvotes

24 comments sorted by

View all comments

Show parent comment

1

u/pjl1967 Jun 12 '26

Parameters and return type, i.e., if you pass const, it returns const; if you pass non-const, it returns non-const.