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:27 PM   #1 (permalink)
Senior Member
 
Join Date: Nov 2008
Posts: 311
Default Latest C++ Interview Questions - Part 4




91. What is the difference between realloc() and free()


92. what is virtual base class?


93. How many parameters can be passed to a function in c++ ?


94. What is the use of constructor?


95. What is structure padding.Describe briefly?


96. Is Templates also a type of Static Polymorphism?


97. what are proxy objectives


98. can destructor be private?


99. what is the difference b/w get() and getline().


100. Why cant one make an object of abstract class?Give compiler view of statement
101. Difference between "C structure" and "C++ structure".


102. Why size of an empty function is 5?

103. How copy constructor works?

104. What is difference between object oriented programing language and structure oriented programing?

105. What is difference between inline function and ordinary function?

106. How to use methods for object in C#, other than built in methods like gettype(), gethashcode()?

107. Class X{X(){}X(X &obj){} // supose '=' operator is also overloaded for this class. I am not writing code for that }main(){X a;X b = a;X c(&a);X d;d = a;}What is the difference between a, b, c, d objects ?


108. Find nth node from end of a singly linked list

109. Write a program to dynamically create a matrix( no of rows and columns wud be provided by user at run time). Then ask a user to input elements and the nprint those elements.

110. Under which conditions compiler provide default constructor to an object when no default constructor is defined in the class definition?
111. What are the things contains in .obj file ? ( compiled result of .cpp file )

112. What is the Basic nature of "cin" and "cout" and what concept or principle we are using on those two?


113. how to create an object for a class that hasa constructor defined under privete access specifier


114. How do you write a program which produces its own source code as its output?


115. can you allocate the memory using malloc() in C and deallocate the same memory using free() in c++


116. without using function overloading how can do the same job?

117. What is encapsulation?


118. what is the use of virtual destructor?

119. Can main() be overridden


120. can we take "main function" as of type float,char etc?
__________________
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 12:10 AM.


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