C++ Comments

Comments are the chunks of lines ignored by the compiler while compiling the code.  Comments are useful for understanding and explanation of the code. C++ allows single line as well as multiple line comments. Single Line Comments: If any line is pre-appended by double backslashes (//) then the line gets commented and compiler ignores such … Read more

C++ Variables and Data Types

The main feature of the C++ is that you need to define everything before using it. C++ Variables are the names assigned to the memory locations where different type of data is stored. Data types define the type of the data to be stored in the memory locations. The variable are defined in this way … Read more