What are Pointers? 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, you must declare a…
Year: 2021
Pointers
Pointers The pointer in C language is a variable that stores the address of another variable. This variable can be of type int, char, array, function, or any other pointer.…
Recursive functions
What are Recursive functions? Recursion is the process of repeating items in a self-similar way. In programming languages, if a program allows you to call a function inside the same…
Types of functions
Types of functions While calling a function, there are two ways in which arguments can be passed to a function: Call by value The call by value method of passing arguments to…
Introduction
Introduction to Functions As discussed A function is a group of statements that together perform a task. A function definition in C programming consists of a function header and a function body. Here…
Functions
What are Functions? A function is a group of statements that together perform a task. Every C program has at least one function, which is main(), and all the most trivial…
Logical Operators
Logical Operators These operators are used to perform logical operations on the given expressions. There are 3 logical operators in C language. They are, logical AND (&&), logical OR (||)…
Relational Operators
Relational Operators Relational operators are used to find the relation between two variables. i.e. to compare the values of two variables in a C program. The following table shows all…
Arithmetic Operators
What are Arithmetic Operators? Arithmetic Operators are used to performing mathematical calculations like addition (+), subtraction (-), multiplication (*), division (/) and modulus (%). The following table shows all the…
Operators
Operators: C language supports a rich set of built-in operators. An operator is a symbol that tells the compiler to perform a certain mathematical or logical manipulation. Operators are used…