Skip to content

Tag Archives: C-Functions

User-defined functions in C language are defined by the programmer to perform specific operations. They are also known as “tailor-made functions” which are built only… Read More
sleep() function in C allows the users to wait for a current thread for a specific time. Other operations of the CPU will function properly… Read More
log2, log2f, and log2l are functions in C that compute the logarithmic of base 2 of a given number. They are part of the math.h… Read More
expm1(), expm1f(), expm1l() were introduced with C99, and are available under the <math.h> header file. These are used to calculate the Euler’s Number, e (2.7182818)… Read More
This function fcvt() converts the floating-point value to NULL-terminated ASCII string and returns a pointer to it. It is defined in the library function defined… Read More
The pthread_getcpuclockid() function returns the clock ID of the CPU-time clock from a specified thread. Syntax: int pthread_getcpuclockid (pthread_t id, clockid_t* clock_id); Parameters: This method… Read More
In C/C++, strcat() is a predefined function used for string handling, under string library (string.h in C, and cstring in C++). This function appends the… Read More
The Standard Function Library in C is a huge library of sub-libraries, each of which contains the code for several functions. In order to make… Read More
Variadic functions are functions that can take a variable number of arguments. In C programming, a variadic function adds flexibility to the program. It takes… Read More
In C/ C++, like normal data pointers(int *, char *, etc), there can be pointers to functions. Every function created in a program gets an… Read More
Pointers in C programming language is a variable which is used to store the memory address of another variable. We can pass pointers to the… Read More
std::string::crbegin() The std::string::crbegin() is a string class built-in function that returns a constant reverse iterator referring to the last element in the string. Using this… Read More
The tgamma() function is defined in header math.h header in C and cmath library in C++. This function is used to compute the gamma function… Read More
The fpclassify() function are defined in header math.h header in C and cmath library in C++. This function is used to get the value of… Read More
As string.h header file contains inbuilt functions to handle Strings in C/C++, the ctype.h/<cctype> contains inbuilt functions to handle characters in C/C++ respectively. Characters are… Read More

Start Your Coding Journey Now!