#include<iostream> using namespace std; void main() { cout<<"Learn2Done" } Explanation of above syntax: #include<iostream>: It is a header file library...
Continue reading...C++
C++ STRUCTURE
In C++, classes and structs are blueprints that are used to create the instance of a class. Structs are used...
Continue reading...C++ USER INPUT
There are three different ways of feeding data to a program in C++: Hard-coding: you write the data in the...
Continue reading...C++ DATATYPE
Datatypes are used for declaring variables and functions of different types. The type of a variable determines how much much...
Continue reading...C++ IDENTIFIERS Copy
Identifiers are fundamental building blocks of a program and are used as the general terminology for the names given to...
Continue reading...C++ JUMP STATEMENT
In C language there are 4 types of jump statements: Break Statement Continue Statement Goto Statement Return Statement Break Statement:...
Continue reading...C++ ENCAPSULATION
In general, encapsulation is a process of wrapping similar code in one place. In C++, we can bundle data members...
Continue reading...C++ VARIABLES Copy
#include<iostream> using namespace std; void main() { cout<<"Learn2Done" } Explanation of above syntax: #include<iostream>: It is a header file library...
Continue reading...C++ POINTER
A pointer is a particular variable that holds the memory address and usually holds the location of another variable in...
Continue reading...C++ POLYMORPHISM
Polymorphism in C++ means, the same entity (function or object) behaves differently in different scenarios. The term “Polymorphism” is the...
Continue reading...