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 (90)
 OOPS interview questions  OOPS Interview Questions (554)
 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 :: Codeblocknoobie
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
Answer
# 1
3 
Is This Answer Correct ?    0 Yes 0 No
Prasad Chavare
 

 
 
 
Other C++ General Interview Questions
 
  Question Asked @ Answers
 
They will ask u question about single linked list?. Write Code for to insert delete node. Persistent 2
What is the Difference between "printf" and "sprintf"? iSoft 7
can anybody please tell me how to write a program in c++,without using semicolon(;) NIIT 6
Can we have "Virtual Constructors"? TCS 9
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.   1
let a,b,c be three integer numbers.write a c++ program with a function void rotate 1()such that a->b->c and c->a.   1
3- Write a program to find larger and smaller of the two numbers. Luminous 4
char *ch = "abcde"; char c[4]; how to copy 'ch' to 'c'? Thomson-Reuters 4
write the prime no program in c++?   16
What is dangling pointers?and what is memory leak?   4
what is meaning of isa and hsa   1
write a program that a 5 digit number and calculates 2 power that number and prints it.   2
 
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