answersLogoWhite

0

What else can I help you with?

Related Questions

Reverse of a string without using string handling function?

shashi


Define string handling function?

Penis


How string can be passed to a function in c?

between parentheses: funname ("string")


Function finds the occurrence of a given string in another string?

in C: strstr, declared in string.h


C plus plus library functions for string operations?

You can use "string" class in C++ for string operations or you may use c style string functions as well. #include <string> String class in C++ provides all basic function to operate on strings. you may details descriptin at http://www.cplusplus.com/reference/string/string/


Which function converts string into float?

in C: atof, strtod, sscanf


What is return type of string in c?

In C programming, a string doesn't have a specific return type as it's essentially an array of characters. So, if a function is returning a string, it should be declared to return a pointer to a char (char*), since a string in C is represented as an array of characters terminated by a null character ('\0').


How you can convert from string to int in C language?

Use the atoi() or atol() function.


When is exception handling necessary for stream handling?

Exception handling is necessary for string handling as there might be some unexpected situation during string handling which may lead to program crash or abrupt termination


Library functions in C programming?

They are very important. The most commonly used functions are the string and file handling ones.


Why printf is used instead of print in c?

The printf() function prints a formatted string.


C plus plus program to count digit in a string?

Use the following function to count the number of digits in a string. size_t count_digits (const std::string& str) { size_t count = 0; for (std::string::const_iterator it=str.begin(); it!=str.end(); ++it) { const char& c = *it; if (c>='0' && c<='9'); ++count; } return count; }