Our Techno Bytes is a platform to learn and spread information technology. The website contains tips & tricks of the internet, computers, software, programming; articles of programming and software development; news.
We also develop software and help others to develop it in any technology.
We love to answer any technology related queries of users. You can contact us on different mediums i.e. Blog comments, facebook page, twitter etc.
What is the size of an object of an empty class?
Hi frnds, do you know what is the size of an object of an empty class in C++...
Answer is "1 byte".
Its because C++ allows us to create object of an empty class
and the minimum memory that a class contains is 1 byte