What is the outcome of the line of code "cout<<abs(-
16.5);"?
1) 16
2) 17
3) 16.5
Answer Posted / neeraj
16
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is abstract class in oops?
Is react oop?
What is encapsulation with real life example?
What are the 3 pillars of oop?
How can you overcome the diamond problem in inheritance?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is coupling in oops?
What is overriding in oops?
What is the importance of oop?
This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.
What is destructor in oop?
What is for loop and its syntax?
Is abstract thinking intelligence?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.