Skip to content

Tag Archives: C-Functions

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
Pre-requisite: Basics of File Handling in CThe fopen() method in C is a library function that is used to open a file to perform various… Read More
asctime() function: The asctime() function is defined in time.h header file. This function returns the pointer to the string that contains the information stored in the… Read More
getdate() getdate() function is defined in dos.h header file. This function fills the date structure *dt with the system’s current date. Syntax struct date dt;… Read More
In a Unix/Linux operating system, the C/C++ languages provide the POSIX thread(pthread) standard API(Application program Interface) for all thread related functions. It allows us to… Read More

Start Your Coding Journey Now!