User talk:78.154.83.101

sizeof
Just so you know, malloc(sizeof * N) does not work. sizeof requires an argument. sizeof(int) is correct. I would have undone all your changes, except that so many of them are legitimate. I don't have time to go through and repair all the sizeof problems you introduced though. --Jomegat (discuss • contribs) 19:30, 2 December 2011 (UTC)

I think that what he was trying to do with  was , that is, dereference the first element of an array, get the size of that element, and multiply that by two. Doing it like that is needlessly complicated and I, possessing more time, will undo the ones I can find. Also, User:78.154.83.101, many of the edits you've made in the name of "optimization" are completely unnecessary. Modern compilers are pretty good at optimizing, especially simple things like changed a multiply by 2 into a left shift by 1. Doing it yourself just complicates this for beginners. --Jfmantis (discuss • contribs) 06:35, 10 December 2011 (UTC)