Enumerated data types

Enumeration/Enumerated data types Enumeration(or enum or Enumerated data type) is a user-defined data type in C. It is mainly used to assign names to integral constants, the names make a…

Share Button

Union

What is a Union? A union is a special data type available in C that allows to store different data types in the same memory location. You can define a union with…

Share Button

Structure

Arrays allow to define type of variables that can hold several data items of the same kind. Similarly structure is another user defined data type available in C that allows to combine…

Share Button

Applications of Pointers

Applications of Pointers Imagine your friend needs to go to a grocery store but doesn’t know where one is. In helping them, you can do either: Tell them where the…

Share Button

Declaration

How to Use Pointers? There are a few important operations, which we will do with the help of pointers very frequently. (a) We define a pointer variable, (b) assign the address of a variable…

Share Button

Introduction To Pointers

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…

Share Button

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.…

Share Button

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…

Share Button

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…

Share Button

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…

Share Button
error: Content is protected !!