struct in C

A struct in C is a user-defined data type that can be used to group items of possibly different types into a single type. The struct keyword is used to …

Storage Modifiers

Storage modifiers are keywords in C that are used to modify the storage class of a variable. The storage class of a variable determines its scope, lifetime, and initial value. …

How to Make Standard Types?

Standard types are the basic data types that are available in C programming language. They are defined in the <stdio.h> header file. The standard types are: You cannot make your …

2’s Complement

2’s complement is a method of representing signed numbers in binary format. In this method, the bits of the number are inverted, and a 1 is added to the end. …

1’s Complement

1’s complement is a method of representing signed numbers in binary format. In this method, the bits of the number are inverted, and a 1 is added to the end. …

Sign Magnitude Technique

Sign magnitude is a method of representing signed numbers in binary format. In this method, the most significant bit (MSB) is used to represent the sign of the number, and …

Data Modifiers

Data modifiers are keywords in C that are used to modify the size and/or range of a variable. There are four data modifiers in C: The short modifier is used …

Wild pointer

In C programming language, a wild pointer is an uninitialized pointer. This means that the pointer has not been assigned to a valid memory address. Wild pointers can be dangerous …

Dangling pointers

In C programming language, a dangling pointer is a pointer that points to a memory location that has been deallocated. This can happen when a variable goes out of scope, …