Tag Archives: C Basics

Typecasting: It is a is converted into another data type by the programmer using the casting operator during the program design. In typecasting, the destination… Read More
Structure Pointer: It is defined as the pointer which points to the address of the memory block that stores a structure is known as the… Read More
In this article, we will discuss the maximum value of unsigned char data type in C++. Some properties of the unsigned char data type are:… Read More
In this article, we will discuss the maximum value of unsigned int in C++. Unsigned int data type in C++ is used to store 32-bit… Read More
Need for deletion of the object: To avoid memory leak as when an object is created dynamically using new, it occupies memory in the Heap… Read More
Fast compilation on g++ build systems is basically used in compiling and executing C++ programs in the terminal. There are many options to speed up… Read More
In this article, we will discuss the long long int data type in C++. long long int data type in C++ is used to store… Read More
A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant,… Read More
In C++, cout shows different printing behaviour with character pointers/arrays unlike pointers/arrays of other data types. So this article will firstly explain how cout behaves… Read More
If-Else is a decision-making statement, where the result will be either true or false. If the statement accepts boolean values – if the value is… Read More
sizeof() is commonly used operator in the C or C++. It is a compile-time unary operator that can be used to compute the size of… Read More
The isdigit(c) is a function in C which can be used to check if the passed character is a digit or not. It returns a… Read More
NULL Pointer: The integer constant zero(0) has different meanings depending upon it’s used. In all cases, it is an integer constant with the value 0,… Read More
Keywords: Keywords are specific reserved words in C each of which has a specific feature associated with it. Almost all of the words which help… Read More
Decision Making in C/C++ helps to write decision driven statements and execute a particular set of code based on certain conditions. The C/C++ if statement… Read More