MCQOPTIONS
Bookmark
Saved Bookmarks
→
C++ (MCQ) questions and answers
→
C++ basic concepts
→
Predict the output:float x= 3.1496;cout
1.
Predict the output:float x= 3.1496;cout
A.
3.14
B.
3.15
C.
3.00
D.
None of these
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Inline functions may not work ______ .1. If function contain static variables.2. If function contain global and register variables.3. If function returning value consists looping construct(i.e. for, while).4. If inline functions are recursive.5. If function contains const value.
Which of the followings is/are not false about friend function ?1. It can be called / invoked with class object.2. It has objects as arguments.3. It can have built-in types as arguments.4. It must declared only in public part of a class.5. It does not have this pointer as an argument.
Predict the output:float x= 3.1496;cout
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies