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


Please Help Members By Posting Answers For Below Questions

What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

1963


what are the different types of qualifier in java?

1813


How does polymorphism work?

616


How to hide the base class functionality in Inheritance?

618


how to get the oracle certification? send me the answer

1631






What is oops concept with example?

563


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2035


What is encapsulation and abstraction? How are they implemented in C++?

611


Please send ford technologies placement paper 2 my mail id

1630


Can you explain polymorphism?

558


Why multiple inheritance is not allowed?

564


what type of questions

1675


What is encapsulation c#?

578


any one please tell me the purpose of operator overloading

1942


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1612