Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
yellow-dog4757161dIn c when you say "type" what you really mean is "size of data block starting at $var_name"
When I see history of my stackoverflow account, there are so many answers for c++ and I'm like htf I answered them at the first place!! I don't remember any sht right now.
Fast-Nop2705060dWhen you use C, you can't just throw around stuff, you have to understand how it's represented in memory.
CLI arguments are an argv array of strings whose length is argc, and if you give a number as CLI argument, it's still a string and has to be converted into a number in the code.
@yellow-dog Well nearly, but there's also automatic alignment as feature - and aliasing as performance booster, but also as lurking undefined behaviour.