Free latest PlacementPapers, Interview Questions ....  
Invite Your Friends

Go Back   Free latest PlacementPapers, Interview Questions .... > INTERVIEW QUESTIONS ( FRESHERS & EMPLOYEES ) > Programming > C++(Cpp)


  



Reply

 

LinkBack Thread Tools
Old 09-12-08, 12:28 PM   #1 (permalink)
Senior Member
 
Join Date: Nov 2008
Posts: 311
Default Latest C++ Interview Questions - Part 5




121. what will be output of the following code#includeusing namespace std;class abc{ public : void main() { cout


122hey anybody help me to write code for this programwap which display year,month & day presents in a year for eg.1. no. is 14 print 2 weeks2. no is 90 print 3 months3. no is 365 print 1 yearuser can input any no


123. what is the use of volatile keyword? Give me one example?


124. Why cann't we overload the sizeof, :?, :: ., .* operators in c++


125. why array index starts from 0[zero] only?

126. Explain the need for "Virtual Destructor".


127. what is difference between copy constructor and constructor?


128. What is operator overloading?what r the advantages of operator overloading?


129. What is a memory leak? How can we avoid it?


130. What is an iterator?



Previou131. what are auto static variables and auto extern variables?


132. Define copy constructor? What is the use of copy constructor?


133. What is a template?


134. What is the need /use of function overloading


135. class A(){};int main(){ A a;}Whether there will be a default contructor provided by the compiler in above case ?


136. What is a "RTTI"?


137. Have you heard of "mutable" keyword?


138. Why always array starts with index 0


139. What is polymorphism? Explain with an example?


140. What do you mean by inheritance?
141. What are the different types of polymorphism?


142. Difference between "vector" and "array"?

143. How to write a program such that it will delete itself after execution?


144. What is the difference between "overloading" and "overriding"?

145Explain "passing by value", "passing by pointer" and "passing by reference"


146. Can we have "Virtual Constructors"?


147. How can we define a dynamic memory allocation in UNIX operating system?


148. 1.different types of languages compare in c++ and other lanuages2.oops concepts in other language oops


149. What is the difference between operator new and the new operator?


150. What is Namespace?
151. In c++ have a default constructor ?


152. # What is an algorithm (in terms of the STL/C++ standard library)?


153. Can we generate a C++ source code from the binary file?


154. What will happen if I say delete this


155. How can you force instantiation of a template?


156. Can you explain the term "resource acquisition is initialization?"


157. What are virtual functions?


158. What is placement new?


159. we can overload assignment operator as a normal function.But we can not overload assignment operator as friend function why?


160. What is a scope resolution operator?

__________________
Sai
Prepaid Mobile Recharge Online - Airtel, Vodafone, Idea, BSNL Cellone, Reliance Mobile, Tata Indicom.
sai6606 is offline   Reply With Quote
Reply

Tags
interview, Latest, part, questions

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT +6.5. The time now is 05:56 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Please Do Not post, copyrighted/internal contents.We are not responsible for any kind of copyrighted material.
If you have objection to any content, please let us know to remove it ASAP.
admin@placementpapers.us