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

What is static class data?

0 Answers  


Check for Balanced Parentheses using Stack?

1 Answers  


What do you mean by static variables?

0 Answers  


What is the difference between public, private, protected inheritance?

12 Answers   Wipro,


What are stacks? Give an example where they are useful.

0 Answers  


Explain the concept of dynamic allocation of memory?

0 Answers  


What is the benefit of learning c++?

0 Answers  


How do you remove an element from a set in c++?

0 Answers  


What is the full name of logo?

0 Answers  


Can c++ be faster than c?

0 Answers  


Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?

6 Answers   CSC,


Describe linkages and types of linkages?

0 Answers  


Categories