Identifiers are fundamental building blocks of a program and are used as the general terminology for the names given to...
Continue reading...Learn2Done
C++ OPERATORS
Operators: Operators are special symbol that perform specific operation on one, two or three operands and then return a result. Operand: Operand...
Continue reading...C++ VARIABLES
A variable is a named memory location, which holds a data value of a particular data type. The value of...
Continue reading...C++ CONTROL STATEMENTS
C has three major control statements:- if statement, if – else statement, and Switch statement. if Statement:- The statement inside...
Continue reading...C++ CONSTANTS
#include<iostream> using namespace std; void main() { cout<<"Learn2Done" } Explanation of above syntax: #include<iostream>: It is a header file library...
Continue reading...C++ FUNCTIONS
A function is a block of statements that performs a specific tast. Advantages of functions: Using functions, we can avoid...
Continue reading...C++ LOOPS
Loop: Loop are used to execute a statement or a set of statement either a specific number of time or...
Continue reading...C++ ARRAYS
An array is a collection of data of the same type stored in a contiguous memory location. The array is...
Continue reading...C++ STRINGS
#include<iostream> using namespace std; void main() { cout<<"Learn2Done" } Explanation of above syntax: #include<iostream>: It is a header file library...
Continue reading...C++ COMMENTS
Comments are hints that a programmer add to explain code and make it more understandable. There are two types of...
Continue reading...