int age=35;
if(age>80)
{Console.WriteLine("Boy you are old");}
else
{Console.WrieLine("That is a good age");}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Does c++ have foreach?

0 Answers  


What is polymorphism and its type in c++?

0 Answers  


When copy constructor can be used?

4 Answers   Symphony,


What is searching? Explain linear and binary search.

0 Answers  


Write a C++ program that asks the user to choose a number between 1 and 1000. Then, your program should be able to guess the number by asking the user no more than 10 yes/no questions. Use a while loop in your program

1 Answers  






Why Pointers are not used in C++?

0 Answers   Global Logic,


What is lambda expression c++?

0 Answers  


What is an accessor in c++?

0 Answers  


How is objective c different from c++?

0 Answers  


What is vectorial capacity?

0 Answers  


What is the real purpose of class – to export data?

0 Answers  


wrong statement about c++ a)code removably b)encapsulation of data and code c)program easy maintenance d)program runs faster

11 Answers  


Categories