Skip to content

Tag Archives: C Basics

An array in any programming language is a collection of similar data items stored at contiguous memory locations and elements can be accessed randomly using… Read More
Short-Circuit Evaluation: Short-circuiting is a programming concept by which the compiler skips the execution or evaluation of some sub-expressions in a logical expression. The compiler… Read More
In this article, we will discuss the scenarios regarding adding white space before or after the format specifier in a scanf() function in C Programming… Read More
Memory is divided into smaller addressable units called bytes. Assume that these are small boxes as bytes. Each byte has its own address as per… Read More
What is C: In 1972, a great computer scientist Dennis Ritchie created a new programming language called C at Bell laboratories. It was created from… Read More
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