What type of comments does C++ support?

Samual Sam
Published on 16-Feb-2018 05:45:34
Program comments are explanatory statements that you can include in the C++ code. These comments help anyone reading the source code. All programming languages allow for some form of comments.C++ supports single-line and multi-line comments. All characters available inside any comment are ignored by C++ compiler.Single line commentsTo create a ... Read More

What is Bitwise OR in C++?

Vrundesha Joshi
Published on 16-Feb-2018 05:42:55
The bitwise OR operator (|) compares each bit of first operand to the corresponding bit of second operand. If either bit is 1, the corresponding result bit is set to 1. Otherwise, the corresponding result bit is set to 0. Both operands to the bitwise inclusive OR operator must be ... Read More

What is Bitwise AND in C++?

Rishi Rathor
Published on 16-Feb-2018 05:40:03
The bitwise AND operator (&) compares each bit of first operand to the corresponding bit of second operand. If both bits are 1, the corresponding result bit is set to 1. Otherwise, the corresponding result bit is set to 0. Both operands to the bitwise inclusive AND operator must be ... Read More

What are fundamental data types in C++ programming?

Rama Giri
Published on 16-Feb-2018 05:34:00
A fundamental or primitive type is a data type where the values that it can represent have a very simple nature (a number, a character or a truth-value); the primitive types are the most basic building blocks for any programming language and are the base for more complex data types.C++ ... Read More

What is Bitwise XOR in C++?

Daniol Thomas
Published on 16-Feb-2018 05:36:13
The bitwise exclusive OR operator (^) compares every bit of} its 1st operand to the corresponding bit of its second operand. If one bit is 0 and the other bit is 1, the corresponding result bit is set to 1. Otherwise, the corresponding result bit is set to 0. Both ... Read More

What is overloading a unary operator in C++?

Krantik Chavan
Published on 16-Feb-2018 05:30:21
The single operators operate on one quantity and following are the samples of single operators − - The increment ( ) and decrement (--) operators. The compiler distinguishes between the different meanings of an operator by examining the types of its operands.The unary operators operate on a single operand and ... Read More

What are primitive data type in C++?

Fendadis John
Published on 16-Feb-2018 05:23:25
A primitive type is a data type where the values that it can represent have a very simple nature (a number, a character or a truth-value); the primitive types are the most basic building blocks for any programming language and are the base for more complex data types.C++ has the ... Read More

What are variables and types of variables in C++?

Sai Nath
Published on 16-Feb-2018 05:09:02
A variable provides us with named storage that our programs can manipulate. Each variable in C++ has a specific type, which determines the size and layout of the variable's memory; the range of values that can be stored within that memory; and the set of operations that can be applied ... Read More

Comments in C++ Programming Language

George John
Published on 16-Feb-2018 04:39:53
Program comments are explanatory statements that you can include in the C++ code. These comments help anyone reading the source code. All programming languages allow for some form of comments. C++ supports single-line and multi-line comments. All characters available inside any comment are ignored by C++ compiler. Single line comments ... Read More

What does 'using namespace std' mean in C++?

Moumita
Published on 16-Feb-2018 04:31:26
Consider a situation, when we have two persons with the same name, Piyush, in the same class. Whenever we need to differentiate them definitely we would have to use some additional information along with their name, like either the area, if they live in a different area or their mother’s ... Read More
Advertisements