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 c token?

0 Answers  


Can the sizeof operator be used to tell the size of an array passed to a function?

0 Answers  


write a program to generate address labels using structures?

0 Answers   SJC,


what is linkage error when it occurs in c program

3 Answers  


int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ?

6 Answers   TCS,






a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6

7 Answers   TCS,


can we execute the program with the object file

1 Answers  


What does sizeof function do?

0 Answers  


what is the disadvantage of using macros?

1 Answers   Wipro,


How can you increase the size of a statically allocated array?

0 Answers   TISL,


Who developed c language and when?

0 Answers  


What are types of preprocessor in c?

0 Answers  


Categories