In C programming language a most common keyword ‘int’ is used to define any positive or negative integer. But there is a difference between an integer a...
Share
A variable in simple terms is a storage place which has some memory allocated to it. Basically, a variable used to store some form of data. Different types of variabl...
Share
I’m sure that this post will be as interesting and informative to C virgins (i.e. beginners) as it will be to those who are well versed in C. So let me start b...
Share
Registers are faster than memory to access, so the variables which are most frequently used in a C program can be put in registers using register keyword. The keywor...
Share
A major drawback of Macro in C/C++ is that the arguments are strongly typed checked i.e. a macro can operate on different types of variables(like char, int ,double,....
Share
In the C programming language (after 99 standard), a new keyword is introduced known as restrict.
restrict keyword is mainly used in pointer declarations as a type ...
Share
Predict the output of following C++ program.
#include <iostream>
  
using namespace std;
  
class Complex
{
private:
 &#x...
Share
Predict the output of following C++ program.
#include<iostream>
using namespace std;
  
class Test
{
protected:
    ...
Share
In the development of the software, typecasting is an inescapable thing. In many cases, developer need to convert an Object(Type) into another Object(Type) and someti...
Share
In the development of the software, typecasting is an inescapable thing. In many cases, one needs to convert an object(Type) into another object(Type) and sometimes g...
Share