Gotchas: Difference between revisions
m
→The sizeof operator
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 211:
char myArray[30];
int j = foo(myArray,sizeof(myArray)); //passes 30 as the length parameter.
}</syntaxhighlight>
|