Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



if int1 has the value 12, int has the value 18, and int3 has the value 21, what is the result: int..

Answer / arikuntha varathan

since 12<18 and also 18<21 the codition becomes true

Is This Answer Correct ?    13 Yes 1 No

if int1 has the value 12, int has the value 18, and int3 has the value 21, what is the result: int..

Answer / 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

if int1 has the value 12, int has the value 18, and int3 has the value 21, what is the result: int..

Answer / tarun

int1 = 12
int = 18 (not int 2)
int 3 = 21
then 1nt1 <int2, int2 value is not known
also int2< int3 , int2 value is not known

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C++ General Interview Questions

Write a program to add three numbers in C++ utilizing classes.

0 Answers   TCS,


why is iostream::eof inside a loop condition considered wrong?

0 Answers  


How can you create a virtual copy constructor?

0 Answers  


which of the following is not an secondary constant a) array b) real c) union

0 Answers  


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

0 Answers  


How can you find the nodes with repetetive data in a linked list?

1 Answers   Lucent,


What is low level language in simple words?

0 Answers  


What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random

0 Answers  


What is an undefined reference/unresolved external symbol error and how do I fix it?

0 Answers  


What is the role of C++ shorthand's?

0 Answers   TCS,


Explain the uses oof nested class?

0 Answers  


Write a C++ Program to Generate Random Numbers between 0 and 100

1 Answers  


Categories