Find size of a struct without using sizeof operator

How will you find the size of a structure in C/C++ language without using sizeof operator. (Note: sum of sizes of all fields of a […]

Difference between struct and class in C++

In C++, a struct can have functions also, the way we have in a class. For example, the below definition of Node in C++ is perfectly valid. struct […]