ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Programming Languages >> C++ >> C++ General
 
 


 

 
 STL interview questions  STL Interview Questions (91)
 OOPS interview questions  OOPS Interview Questions (558)
 C++ General interview questions  C++ General Interview Questions (458)
Question
write a program that will produce the ff. output.
"what fruit will you buy?
1)apple
2)orange
3)mango
ENTER CHOICE (1,2 or 3)>
HOW MANY WILL YOU BUY?>
THAT WILL COST XX.XX
 Question Submitted By :: C++-General
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
3 
Is This Answer Correct ?    0 Yes 0 No
Prasad Chavare
 

 
 
 
Other C++ General Interview Questions
 
  Question Asked @ Answers
 
Definition of class?   12
What are the differences between a struct and a class in C++? Wipro 6
What is optimization in c++? when using volatile.optimization is not possible..what does this mean?   1
show that among any group of five (not necessary consecutive ) integers, there are two with the same remainder when divided by 4.   1
What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same CTS 3
When volatile can be used? Symphony 3
what is the use of Namespace in c++.   3
How to avoid a class from instantiation? Symphony 8
What about Virtual Destructor? Virtusa 1
class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding; Manhattan 2
Give a very good method to count the number of ones in a "n" (e.g. 32) bit number.   3
Which one of the following describes characteristics of "protected" inheritance? a) The base class has access only to the public or protected members of the derived class. b) The derived class has non-public, inheritable, access to all but the private members of the base class. c) The derived class has access to all members of the base class. d) The private members of the base class are visible within the derived class. e) Public members of the derived class are privately accessible from the base class. Quark 4
 
For more C++ General Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com