C Functions

C rand() Function

The rand() function in C is a standard library function that generates a pseudo-random number. It is part of the C standard library (stdlib.h). This function is commonly used for generating random numbers for various purposes, such as simulations, games, and randomized algorithms.

C strtoull() Function

The strtoull() function in C is a standard library function that converts a string to an unsigned long long integer. It is part of the C standard library (stdlib.h). This function is more versatile and robust than atol() or atoi() because it allows for error checking and supports different number bases.

C strtoll() Function

The strtoll() function in C is a standard library function that converts a string to a long long integer. It is part of the C standard library (stdlib.h). This function is more versatile and robust than atoll() because it allows for error checking and supports different number bases.

C strtol() Function

The strtol() function in C is a standard library function that converts a string to a long integer. It is part of the C standard library (stdlib.h). This function is more versatile and robust than atol() because it allows for error checking and supports different number bases.

C strtof() Function

The strtof() function in C is a standard library function that converts a string to a float. It is part of the C standard library (stdlib.h). This function is more versatile and robust than atof() because it allows for error checking and supports more complex input strings.

C strtod() Function

The strtod() function in C is a standard library function that converts a string to a double. It is part of the C standard library (stdlib.h). This function is more versatile and robust than atof() because it allows for error checking and supports more complex input strings.

C atoll() Function

The atoll() function in C is a standard library function that converts a string to a long long integer. It is part of the C standard library (stdlib.h). It is commonly used to convert string representations of long long integers into their corresponding long long integer values.

C atol() Function

The atol() function in C is a standard library function that converts a string to a long integer. It is part of the C standard library (stdlib.h). It is commonly used to convert string representations of long integers into their corresponding long integer values.

C atoi() Function

The atoi() function in C is a standard library function that converts a string to an integer. It is part of the C standard library (stdlib.h). It is commonly used to convert string representations of integers into their corresponding integer values.

C atof() Function

The atof() function in C is a standard library function that converts a string to a double. It is part of the C standard library (stdlib.h) and is commonly used to convert string representations of floating-point numbers into their corresponding double values.

C feof() Function

The feof() function in C is a standard library function that checks the end-of-file indicator for the given stream. It is part of the C standard library (stdio.h) and is commonly used to detect the end of a file during input operations.

C getchar() Function

The getchar() function in C is a standard library function that reads the next character from the standard input stream (stdin) and returns it as an unsigned char cast to an int. It is part of the C standard library (stdio.h) and is commonly used for reading characters from the user input.

C getc() Function

The getc() function in C is a standard library function that reads the next character from the specified input stream and returns it as an unsigned char cast to an int. It is part of the C standard library (stdio.h) and is commonly used for reading characters from files or standard input.

C fputc() Function

The fputc() function in C is a standard library function that writes a character to the specified output stream. It is part of the C standard library (stdio.h) and is commonly used for output operations where characters need to be written to files or standard output.

C fgetc() Function

The fgetc() function in C is a standard library function that reads the next character from the specified input stream and returns it as an unsigned char cast to an int. It is part of the C standard library (stdio.h) and is commonly used for reading characters from files or standard input.

C fflush() Function

The fflush() function in C is a standard library function that flushes the output buffer of a stream. It is part of the C standard library (stdio.h) and is used to ensure that all data written to the output buffer is actually sent to the output device or file.

Scroll to Top