What does snprintf return?



What does snprintf return?..

Answer / Avdhesh Kumar Verma

snprintf is a C library function that formats strings similar to printf but with limited output size. It returns the number of characters that would be written if there was enough space, not the actual number of written characters.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

1 Answers  


How Applets & Servlets will communicate with each other?

2 Answers  


Can a private method be declared as static?

1 Answers   Global Logic,


what methods would you overwrite in java.lang.object class?

1 Answers  


if two references are having same hash codes,is that means those are refering to same object?

5 Answers   CTS,


Can a final variable be manipulated in java?

1 Answers  


What are the topics in core java?

1 Answers  


What is the difference between final, finally and finalize()?

1 Answers  


What is an 8 bit word?

1 Answers  


What is difference between jdk,jre and jvm?

1 Answers  


What is the size of boolean variable?

1 Answers  


What is Vector?Can you elaborate how Vector is Thread safe?

3 Answers   HCL,


Categories