Category: C

Function in C, Function Arguments

Function In C

Function in C  A function in C 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 programs can define additional functions. You can divide up your code into separate functions. How you divide up your code among different […]

Double Pointer in C, Pointer in C PDF

Double Pointer in C, Pointer in C PDF, Types of Pointer in C, Use of pointer in c, Learn Him self Pointers in C  Pointers in C are easy and fun to learn. Some C programming tasks are performed more easily with pointers, and other tasks, such as dynamic memory allocation, cannot be performed without […]

Structure in C, Online Study

Structures in C

Structures in C Structure in C Arrays allows defining type of variables that can hold several data items of the same kind. Similarly, the structure is another user-defined data type available in C that allows combining data items of different kinds. Structures are used to represent a record. Suppose you want to keep track of […]

Decision Making in C

Decision Making in C, decision making statements in c pdf, looping statements in c, decision making and looping in c, Online Computer Study

Decision Making in C, decision making statements in c pdf, looping statements in c, decision making and looping in c, Online Computer Study Decision-Making in C  Decision-making structures require that the programmer specifies one or more conditions to be evaluated or tested by the program, along with a statement or statements to be executed if […]

Loops in C, While loops in C

While loops in C, Nested for loop in C, Online Study, Online Study Loops in C You may encounter situations when a block of code needs to be executed several numbers of times. In general, statements are executed sequentially: The first statement in a function is executed first, followed by the second, and so on. […]

Union in C, Online Study

Union in C

Union in C Union in C A union is a special data type available in C that allows storing different data types in the same memory location. You can define a union with many members, but only one member can contain a value at any given time. Unions provide an efficient way of using the […]

Scope rules in C, Scope of variables in C PDF

Scope rules in PLP, Scope rules in C, File Scope in C, Scope of variables in C PDF, Learn Him Self Scope Rules  A scope in any programming is a region of the program where a defined variable can have its existence and beyond that variable, it cannot be accessed. There are three places where […]

Types of arrays in C, Array in PDF

Types of arrays in C, Array in PDF, Two Dimensional array in C, Array Initialization in C, Learn Him Self Arrays in C  Arrays a kind of data structure that can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is […]

Memory Management, Learn Him Self

Memory Management This chapter explains dynamic memory management in C. The C programming language provides several functions for memory allocation and management. These functions can be found in the <stdlib.h> header file. S.N. Function and Description 1 void *calloc(int num, int size); This function allocates an array of num elements each of which size in […]

Preprocessor in C, Online Study

Preprocessor in C

Preprocessor in C The Preprocessor in C is not a part of the compiler but is a separate step in the compilation process. In simple terms, a C Preprocessor is just a text substitution tool and it instructs the compiler to do required preprocessing before the actual compilation. We’ll refer to the C Preprocessor as CPP. […]