Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336
It is necessary that for the string functions to work safely the strings must be terminated with '\0'. ?->(Show Answer!)
Question Set

1. It is necessary that for the string functions to work safely the strings must be terminated with '\0'.



Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

  • By: guest on 01 Jun 2017 06.02 pm
    C string is a character sequence stored as a one-dimensional character array and terminated with a null character('\0', called NULL in ASCII).
    The length of a C string is found by searching for the (first) NULL byte.
Show Similar Question And Answers
QA->P and Q can do a work in 30 days. Q and R can do the same work in 24 days and R and P in 20 days. They started the work together, but Q and R left after 10 days. How many days more will P take to finish the work?....
QA->P and Q can complete a work in 15 days and 10 days respectively. They started the work together and then Q left after 2 days. P alone completed the remaining work. The work was finished in --- days.....
QA->A can complete a work in 12 days with a working of 8 hours per day. B can complete the same work in 8 days when working 10 hours a day. If A and B work together, working 8 hours a day, the work can be completed in --days.....
QA->P and Q can complete a work in 20 days and 12 days respectively. P alone started the work and Q joined him after 4 days till the completion of the work. How long did the work last?....
QA->P can do a work in the same time in which Q and R together can do it. If P and Q work together, the work can be completed in 10 days. R alone needs 50 days to complete the same work. then Q alone can do it in....
MCQ->It is necessary that for the string functions to work safely the strings must be terminated with '\0'.....
MCQ->Which of the following statements are correct about the String Class in C#.NET? Two strings can be concatenated by using an expression of the form s3 = s1 + s2; String is a primitive in C#.NET. A string built using StringBuilder Class is Mutable. A string built using String Class is Immutable. Two strings can be concatenated by using an expression of the form s3 = s1&s2;....
MCQ->Which of the following statements are correct about static functions? Static functions can access only static data. Static functions cannot call instance functions. It is necessary to initialize static data. Instance functions can call static functions and access static data. this reference is passed to static functions.....
MCQ->Assertion (A): C has a large number of library functions classified as arithmetic functions, data conversion functions, character classified functions, string manipulation functions, searching and sorting functions etc.Reason (R): 8086 uses a segment : offset addressing scheme.

....
MCQ->Which of the following snippets are the correct way to convert a Single into a String? Single f = 9.8f; String s; s = (String) (f); Single f = 9.8f; String s; s = Convert.ToString(f); Single f = 9.8f; String s; s = f.ToString(); Single f = 9.8f; String s; s = Clnt(f); Single f = 9.8f; String s; s = CString(f);....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution