if int1 has the value 12, int has the value 18, and int3 has
the value 21, what is the result:
int1 < int2 && int2 < int 3

Answer Posted / murad shaikh

here int1=12
int2=18 (int=18, is given as int2)
int3=21

so
int1 < int2 && int2 < int3
12 < 18 && 18 < 21

ans = 21;

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define pure virtual function?

555


Explain virtual destructor?

666


What is else if syntax?

667


What are static type checking?

622


How does the copy constructor differ from the assignment operator (=)?

615






What is decltype c++?

553


How much do c++ programmers make?

556


What is bubble sort c++?

568


What are the defining traits of an object-oriented language?

685


If a header file is included twice by mistake in the program, will it give any error?

545


What is the basic structure of c++ program?

563


Does improper inheritance have a potential to wreck a project?

622


What is class definition in c++ ?

621


Why is c++ called oops?

550


What is difference between n and endl in c++?

578