Skip to content

Tag Archives: C Basics

In this article, the topic is to understand the difference between exit() and break. exit(): When a user wants to exit a program from this… Read More
Given an input value N, the task is to allow taking only integer input from the user. Now, if the user enters any input other… Read More
The Standard Function Library in C is a huge library of sub-libraries, each of which contains the code for several functions. In order to make… Read More
Variadic functions are functions that can take a variable number of arguments. In C programming, a variadic function adds flexibility to the program. It takes… Read More
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