Convert a String into Long Value

What string function is used to convert a string into long value? This is done by using the function named as atol() . This function atol() is present in the header file named as stdlib.h. So when p...

Convert a String into an Integer

How to convert a string into an integer in C program? This is done by using the function named as atoi(). This function atoi() is present in the header file named as stdlib.h. When programmers use...

String handling functions

What is the string handling functions present in header file string.h? There are number of string handling functions present in string.h. In other words if a programmer uses any of the function prese...

Position of Substrings

How to determine different positions of substrings within a string in C? There are numerous functions available in C to achieve the purpose of finding different positions of a substring with a string