What is the outcome of the line of code "cout<<abs(-
16.5);"?
1) 16
2) 17
3) 16.5
Answer Posted / monika
-16
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
Why is abstraction needed?
When not to use object oriented programming?
What does and I oop mean?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
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.
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
write a program to find 2 power of a 5digit number with out using big int and exponent ?
what are the different types of qualifier in java?
What is the difference between static polymorphism and dynamic polymorphism?
What is object in oops?
c++ program to swap the objects of two different classes
What is encapsulation oop?
Whats is abstraction in oops?
What is ambiguity in inheritance?
write a program that takes input in digits and display the result in words from 1 to 1000