In C input and output functions are used to get input data and display the output results, to use those methods it is necessary to include the stdio.h library in …
Structure in C
Structure Definition: The Structure in C is defined as a collection of variables of dissimilar data types, thusa single structure can contain integer, character, floating-point types,and pointers as well as …
Strings
Strings are the representation of the one-dimensional char type array, terminated by the null character. Each character occupies 1byte of memory and since the end of the array includes a …
Pointers in C
Pointers in C are defined as a variable, that represents the address location of another variable. The pointer is the most important topic which helps in memory management and has …
Arrays in C
Normally we use variables to store and access values but when there is a need to handle huge data, we will go for arrays. Arrays in C are used to …
Preprocessor Directives
Preprocessing is the step before compilation, which is done by the preprocessor. It is also known as a macro processor which defines macros, the replacement word or abbreviation for the longer …
Functions in C
Functions in C are defined as a block of statements that perform a specific task and can be executed repeatedly any number of times. Every C program has a main …
Loop control statements
In a certain process, specific blocks of codes are repeated until certain conditions are satisfied, to avoid repetition of codes in Loop control statements are used. The different types of …
Decision Control Statements
In a program, certain logical tests are carried out only when certain conditions are satisfied. The logical test gives either True or False as output, based on the result we …
Operators in C
It is a symbol that tells the compiler to perform specific mathematical and logical manipulations. The Operators in C are defined as the part of the mathematical expression which is …