In this blog, we will study the purpose of escape sequence in C++ programming language with the help of examples to implement them and their types and uses.
Escape Sequence
Escape sequences in C++ are character combinations that comprise a backslash (\) followed by some character or symbol. They give results such as getting to…
Bitwise Operator is related to binary numbers, so before starting with this type of operator, let's know something about binary numbers. Binary numbers are a combination of 0's and 1's, which makes the low-level language, or in simpler terms, a language that a computer can understand but not us humans. Since we know about binary numbers, let us…
In this blog, we will see the definition of relational operators, types of relational operators, and a detailed explanation of each; if you hadn’t checked the previous blog on operators so, check now and add some precious knowledge to the library of your smart brain. Let’s go
What is the relational operator in c++?
A relational operator checks the relationship between…
In this blog, we will see the definition of unary operators in C++, types of unary, and a detailed explanation of each; if you haven't checked the previous blog on operators, check now and add some precious knowledge to the library of your smart brain. Let's go.
What is a Unary operator?
Unary operators are…
Operators are the core concepts of any programming language as none of the programming languages can proceed and even exist without the concept of operators. In real life, if we take an example, explaining the Operators in C++ is like we are cooking spicy food. Still, without the spices, we can’t cook delicious food; it’s…
In c++, we all have written many programs till now. But do you know that each part of that program separately makes a specific type of statement, which collectively comes under the header of Statements. Now, let us dive into learning about this part of the ocean.
What are Statements in C++?
A statement is…
New-line character is a technique used to insert a new line into the output displayed to the user. It is one of the most-used techniques to get the output to the next line. Most of the time, we don't simply want to print (output) everything on the same line, though we need separation. It helps…
In this blog, we will learn to use the standard cout object to display output to the user and the standard cin object to take input from the user, with the help of examples. Let's start with the header files to gain more understanding of cout and cin.
Header files
C++ header files are the standard interface for various…
At one time, all of us were tired of maths, but it has some fundamental concepts still in use, and everyone might know about it: Constants. Like in our life, we have some constants, i.e., whose place no one can take or which can not be changed, and in mathematical terms, its value can not…
You must've gone through various basics of C++, from basic structures to keywords, and you must've even covered the identifiers till now. But this is the very point where the real power of C++ unveils, and it's the core backbone of any programming language because, without it, the programmer cannot even think of programming. They…