Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function returning pointer to array - Rule 17.4
#3
Quote:So please tell me of a case where it makes sense to return a pointer from a function.

How about when parsing a linked list that is statically declared.
<t></t>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)