User profile: Shervan360

User info
User name:Shervan360
History
Joined:
Number of posts:183
Latest posts:

Size of Union and Struct
Hello, I want to calculate the size of struct and union. Is the below true? In the union, the ou...

How Can I Initialize this Dynamic array?
Hello, How Can I Initialize this Dynamic array? I'd like to have pointer to an array with size...

How does sizeof work in C++?
Thanks, I read: [quote]The memory space is allocated to the data members of a class only when an ob...

How does sizeof work in C++?
Hello, I learned compiler doesn't memory allocation for class without an object. When we declare an...

Can I use malloc without sizeof?
Hello, Could you please tell me what's the differences between these codes? and give me a clear e...