ALLInterview.com :: Home Page KalAajKal.com
 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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  C++ General
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
How to implement flags?
 Question Submitted By :: Shalini
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to implement flags?
Answer
# 1
enum Flag {Yes, No};
 
Is This Answer Correct ?    0 Yes 0 No
Sachin
 

 
 
 
Other C++ General Interview Questions
 
  Question Asked @ Answers
 
Given a simple program designed to take inputs of integers from 1-1000 and to output the factorial value of that number, how would you test this program? You do not have access to the code. Please be as specific as possible. Microsoft2
What are Virtual Functions? How to implement virtual functions in "C" ?  2
How do you know that your class needs a virtual destructor? Lucent3
What is conversion constructor? TCS1
What is the difference between Pointer and a Reference? When you would use them? Wipro2
Difference between Overloading and Overriding? HP4
What is "strstream" ? Huawei1
Why would you make a destructor virtual? Lehman-Brothers3
Can we declare destructor as static? Explain?  2
How to implement flags? Symphony1
what is the behaviour of C and C++ compiler for the below statements. int *p; p = malloc(100); Is the behaviour same ? or different ?  1
why the size of an empty class is 1  3
What is object slicing and how can we prevent it? Tech-Mahindra2
write the prime no program in c++?  4
What are the different types of polymorphism?  2
How can you find the nodes with repetetive data in a linked list? Lucent1
What is your strongest programming language (Java, ASP, C, C++, VB, HTML,C#, etc.)? Microsoft20
const char * char * const What is the differnce between the above two? TCS8
Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B"; CTS3
what is importance of data sturture in a programming language? L&T10
 
For more C++ General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com