InterviewSolution
| 1. |
How To Convert A Number To A String? |
|
Answer» The standard C library provides several functions for converting numbers of all FORMATS (integers, longs, floats, and so on) to strings and vice versa The following functions can be used to convert integers to strings:
The following functions can be used to convert floating-point values to strings:
The standard C library provides several functions for converting numbers of all formats (integers, longs, floats, and so on) to strings and vice versa The following functions can be used to convert integers to strings: The following functions can be used to convert floating-point values to strings: |
|