How can a number be converted to a string?



How can a number be converted to a string?..

Answer / hrpynux@gmail.com

We can convert int to String in java using String. valueOf() and Integer. toString() methods. Alternatively, we can use String.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

print a "hello" word without using printf n puts in c language

6 Answers  


Is it possible to pass an entire structure to functions?

0 Answers  


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

0 Answers   TCS,


Find the output? void main() {float a=2.0; printf("\nSize of a ::%d",sizeof(a)); printf("\nSize of 2.0 ::%d",sizeof(2.0));}

11 Answers   IBM, TCS,


who developed c and why he developed c?

5 Answers  






main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output?

7 Answers   Ramco,


Is c# a good language?

0 Answers  


write a programe to find the factorial of given number using recursion

3 Answers  


List the difference between a 'copy constructor' and a 'assignment operator' in C?

0 Answers   Accenture,


A program to write a number of letters and numbers, such as counting and display

0 Answers  


What is the difference between formatted&unformatted i/o functions?

0 Answers  


What is wrong with this code?

0 Answers  


Categories