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

What is a stream in c programming?

0 Answers  


What is preprocessor with example?

0 Answers  


Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.

1 Answers  


how to convert binary to decimal and decimal to binary in C lanaguage

7 Answers   BPO, Far East Promotions, IBM, RBS,


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

0 Answers  


How pointer is different from array?

0 Answers  


Which is better malloc or calloc?

0 Answers  


What’s the special use of UNIONS?

0 Answers   ADP,


What are the disadvantages of a shell structure?

0 Answers  


The variables are int sum=10,SuM=20; these are same or different?

3 Answers  


1. main() { printf("%d",printf("HelloSoft")); } Output?

3 Answers   HCL,


i want the code for printing the output as follows 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4

2 Answers  


Categories