What will the following functions return when executed.
a. Math.rint(Math.max(-14.2,-19.6));
b. Math.ceil(-7.8);
Answers
Answered by
72
Answer:
This section on C++ interview questions and answers focuses on “Value Return”. One shall practice these interview questions to improve their C++ programming skills needed for various interviews (campus interviews, walkin interviews, company interviews), placements, entrance exams and other competitive exams. These questions can be attempted by anyone focusing on learning C++ programming language. They can be a beginner, fresher, engineering graduate or an experienced IT professional. Our C++ interview questions come with detailed explanation of the answers which helps in better understanding of C++ concepts.
Similar questions