sizeof() is a function (not a method) and needs the brackets to hold the argument i.
If you omit the brackets it will compile but the output will not show the size of the integer.
Please post the code of a program you have written and got to run showing the correct output with sizeof used as you say.
Alan
|