hello every body!
i have very simple question, i google it alot but i didn't find the satisfactory answer my question is
what is the reason that int, float,char,double,bool are of 4,4,1,8,1 byte respectively in C++?
are arrays built in? if yes then kindly explain......thnx alot
#define
-6
Newbie Poster
Recommended Answers
Jump to Post> what is the reason that int, float,char,double,bool are of 4,4,1,8,1 byte respectively in C++?
This isn't a C++ question, it's a "what does your compiler do" question.The C++ standard only specifies MINIMUM requirements on the data types. Beyond that, the compiler implementor is free to do anything …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.