Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Uh ... "size_of()"? Ints holding pionters? This is a very confusing answer. Commented Nov 6, 2009 at 15:07
  • size_of(var) returns the size of the type of the variable that is passed in. In this case, (int arr;) arr is an int, which has the size size_of(int). This is the case no matter what number has been saved into arr Commented Nov 6, 2009 at 15:09