C++ Programming: Using the sizeof operator
Code can be found at pastebin.com/MT0Gb8zn
Concepts:
What is does the size of operator provide?
Syntax for using the operator
How we can use the size of operator to determine the size for various data types
Code can be found at pastebin.com/MT0Gb8zn
Concepts:
What is does the size of operator provide?
Syntax for using the operator
How we can use the size of operator to determine the size for various data types
Пікірлер: 2
I was waiting for the "BUT!" Part I keep hearing that sizeof() can be deceptive, especially with arrays. Like you think you're using it correctly, but it doesn't actually give you what you want. It's always been good for me, so I'm still on the lookout for those situations
** Thank you **