Category: C
-
CCall by Value & Call by Reference
There are two ways to pass the data into the function in C language: method :call by value method :call…
March 9, 2022
-
CRecursive function in C
In the C programming language, a function may call itself. A function is called recursive if a statement within the…
March 11, 2022
-
CProgram to check whether a number is even or odd
To determine whether an integer number is even or odd, utilize functions. We have created a function even_odd(int n) with…
March 13, 2022
-
CArrays in C
Arrays in the C language are a set of homogenous data types stored at the contiguous memory location. We can define one array variable to describe individual variables rather than specifying separate variables. An index lets you access a distinct element in an array. Structure…
March 14, 2022
-
COne-dimensional Array
A one-dimensional array is one that only needs one subscript statement to show a single array element. A one-dimensional array…
March 16, 2022
-
CTwo-dimensional array
The two-dimensional array can be defined as an array of arrays. The 2D array is organized as matrices, which can…
March 17, 2022
-
CStructure in C
The structure is a user-defined data type in C that allows us to aggregate data of various types. Structure aids in…
March 19, 2022
-
CArray of Structure
Array of Structure: In C, an array of structures is a collection of many structure variables, each of which has…
March 21, 2022
-
CNested Structure in C
C allows us to nest one structure within another structure, which allows us to design complicated data types. This type…
March 22, 2022
-
CTypedef in C
Typedef in C is used to redefine the name of the existing variable type. It generally increases the readability and…
March 24, 2022
-
CUnions in C
A union is a particular data type in C that allows several data types to be stored in the same…
March 26, 2022
-
CPointer in C
In C, a pointer is a variable that stores the address of another variable. This variable can be of any…
March 26, 2022