Storage Classes are used to describe the features of a variable/function. These features basically include the scope, visibility and life-time which help us to trace...
Share
1234
C Storage Classes and Type Qualifiers
Please wait while the activity loads. If this act...
Share
We have discussed String class and some of its functions in below set 1.
C++ string class and its applications | Set 1
More functions are discussed in this article
St...
Share
Suppose we want to create a class for Graph. The class stores adjacency matrix representation of the graph. Therefore, our class structure would be something like b...
Share
In C++ we can store string by one of the two ways –
C style strings
string class (discussed in this post)
In this post, second method is discussed. strin...
Share
Class: The building block of C++ that leads to Object Oriented programming is a Class. It is a user defined data type, which holds its own data members and member fu...
Share
A class declaration can contain static object of self type, it can also have pointer to self type, but it cannot have a non-static object of self type.
For example,...
Share
In C++, a structure is the same as a class except for a few differences. The most important of them is security. A Structure is not secure and cannot hide its impleme...
Share
Predict the output of following program?
#include<iostream>
using namespace std;
  
class Empty {};
  
int main()
{
 &#x...
Share
A nested class is a class which is declared in another enclosing class. A nested class is a member and as such has the same access rights as any other member. The me...
Share