Skip to content

Tag Archives: C-Functions

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… 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
From OSI model of network to Operating System, any daily life project is based on layered architecture. Ever thought how the abstraction between upper layers… Read More
Strings in C: Strings are defined as an array of characters. The difference between a character array and a string is the string is terminated… Read More
The putchar(int char) method in C is used to write a character, of unsigned char type, to stdout. This character is passed as the parameter… Read More
The chdir command is a system function (system call) which is used to change the current working directory. On some systems, this command is used… Read More
Functions can be invoked in two ways: Call by Value or Call by Reference. These two ways are generally differentiated by the type of values… Read More