Archive

c language

C Programming

File Handling in C

In this tutorial, we are going to learn about reading and writing files in C. File Handling in C: The English dictionary term file refers to a folder or a…

C Programming

Understanding Switch Case in C

In this article, we are going to understand the switch-case construct in C Language. Switch Case in C The switch-case construct is an alternative to the if-else-if construct.…

C Programming

How to work with Union in C

In this tutorial, we are going to learn about union and how is it different from a structure. Union in C: A union is also a collection of different data…

C Programming

C Formal and Actual Arguments

In this tutorial, we are going to learn about two types of function arguments. Formal and Actual Arguments: An argument is an expression that is passed to a…

C Programming

C – Categories of Functions

In this tutorial, we are going to learn about categories of functions. C - Categories of Functions: All the C functions can be called either with arguments or without arguments in a…

C Programming

Dynamic Memory Allocation in C

In this tutorial, we are going to learn about the concepts of dynamic memory allocation also known as DMA. In C, memory allocation can happen statically (during compile time), automatically, or…

C Programming

User defined Functions in C

In this tutorial, we are going to learn about the User defined functions in C. User-defined functions are the functions that are defined by the user at the…

C Programming

Functions in C

In this tutorial,  we are going to learn about Functions in C. Functions in C Language: A program can be used to solve a simple problem or a large complex problem. Programs solving…

C Programming

C Multi Dimensional Arrays

data_type array_name[size_1][size_2][size_3].......[size_n]; //where size_1 to size_n from the dimensions of the declared array Examples: int arr_2d[3][4]; //an example for a two-dimensional array int arr_3d[3][4][2]; //an example for a…