Skip to content

Tag Archives: C-Functions

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
Inline Function are those function whose definitions are small and be substituted at the place where its function call is happened. Function substitution is totally… Read More
The strlwr( ) function is a built-in function in C and is used to convert a given string into lowercase. Syntax:Take a step-up from those… Read More
The strrev() function is a built-in function in C and is defined in string.h header file. The strrev() function is used to reverse the given… Read More
The strcmpi() function is a built-in function in C and is defined in the “string.h” header file. The strcmpi() function is same as that of… Read More
The tolower() function is defined in the ctype.h header file. If the character passed is a uppercase alphabet then the tolower() function converts a uppercase… Read More
The toupper() function is used to convert lowercase alphabet to uppercase. i.e. If the character passed is a lowercase alphabet then the toupper() function converts… Read More
The clock() function is defined in the ctime header file. The clock() function returns the approximate processor time that is consumed by the program. The… Read More
The time() function is defined in time.h (ctime in C++) header file. This function returns the time since 00:00:00 UTC, January 1, 1970 (Unix timestamp)… Read More
The strnset() function is a builtin function in C and it sets the first n characters of a string to a given character. If n… Read More
Write a function to implement quicksort algorithm that will work for all types of data i.e ints, floats, chars etc. It should accept all types… Read More

Start Your Coding Journey Now!