C string.h Library Function

C string.h library function: The <string.h> header defines one variable type, one macro, and various functions for manipulating arrays of characters. Library Variables Variable Description size_t This is the unsigned integral …

Read more

C setjmp.h Library Function

C <setjmp.h> library function: The setjmp.h header defines the macro setjmp(), and one function longjmp(), and one variable type jmp_buf, for bypassing the normal function call and return discipline. C …

Read more

C signal.h Library Function

C <signal.h> library function: The signal.h library function defines a variable type sig_atomic_t, two function calls, and several macros to handle different signals reported during a program’s execution. C <signal.h> …

Read more

C type.h Library Function

C type.h Library Function: The ctype.h header file of the C Standard Library declares several functions that are useful for testing and mapping characters. And all the functions accept int as …

Read more

C time.h Library Function

C time.h library functions: The C time.h library function defines four variable types, two macro and various functions for manipulating date and time. C time.h library function Library Variables Variables Description …

Read more

C math.h Library Function

C <math.h> Library Function: The C math.h library function defines various mathematical functions and one macro. All the functions available in this library take double as an argument and return …

Read more

C stdlib.h Library Function

C stdlib.h library function: The stdlib.h header defines four variable types, several macros, and various functions for performing general functions. It can be derived as a “standard input-output library“. C stdlib.h …

Read more

C stdio.h Library Function

C stdio.h Library Function: The <stdio.h> can be defined as “Standard input-output header file“. And the stdio.h header defines three variable types, several macros, and various functions for performing input …

Read more

C File Handling

C file handling: A file represents a sequence of bytes i.e. a text (or) a binary file for the data storage. File handling in C provides create, insert, delete, open …

Read more

Recursion in C

Recursion in C is the process in which the function calls itself directly or indirectly is known as “Recursion”. And the corresponding function is called “Recursive function”. And the recursion …

Read more

Preprocessors in C

What are Preprocessors in C? Definition – A preprocessor in C is nothing but a text substitution tool and it instructs the compiler to do required pre-processing before the actual …

Read more

enum in C

enum in C: An enum in C  (or) enumeration is a user-defined data type in C. It is mainly used for assigning names to integral constants, the names make a …

Read more

C Unions

C Unions are nothing but, a collection of different data types that are grouped together. And these are like structures. While the only difference between unions and structures is allocating …

Read more

Structures in C

Structures in C: The Structures are nothing but user-defined data types that allows combining data items of different kinds. And these structures are used to represent a record. So, for …

Read more

C Strings

Strings in C Language: These are nothing but an array of characters ended with null characters (‘\o’). And this null character indicates the end of the string. All the strings …

Read more

C Pointers

Pointers in C language are variable that stores/point the address to another variable. And the pointers in C is used to allocate memory dynamically i.e. run time. Pointers will allow …

Read more

Arrays in C

Arrays in C: These are a collection of variables can store a fixed size collection of elements of the same type. Instead of storing variables such as number[0], number[1],number[2] ……to …

Read more

Functions in C

Functions in C Programming Language: A function is a group of statements that perform a particular task. And  C functions are the basic building blocks of a program. These functions …

Read more

Loops in C

Loops in C: Loops are nothing but, if you want to execute a block of code specified number of times until a condition is met. Every programming has the feature …

Read more

Operators in C

Operators in C: Symbols which are used to perform both logical and mathematical operations in a C program are called Operators in C. C language offers a different type of …

Read more

Constants in C

Constants in C: It is the most fundamental and essential part of the C programming language. Constants in C are fixed values that are used in a program, and its …

Read more

Tokens in C

Tokens in C: A token is the smallest element of the program that is meaningful to the compiler. Tokens in C can be classified as follows: Keywords Identifiers Constants Strings …

Read more

Data Types in C

Data types in C: It is the collection of data with values having a fixed meaning as well as characteristics.  There are various data types in C language. C Data …

Read more