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




31. What is the difference between far pointer and near pointer?


32. Explain why encapsulation is required?


33. What is the difference between macro and inline()?


34. What are Virtual Functions? How to implement virtual functions in "C"


35. What is namespace?


36. What is the difference between class and structure?


37. What is the difference between an object and a class?


38. Why the size of empty Class is one byte?


39. how do you run watch with standard input by keyboard


40. What is friend function?
41. What is the difference between static global variable and static local variable?


42. Why Pointers are not used in C Language. What are the main differences between C and C++


43. Why an empty Structure will occupy 2Bytes in C++


44. How do you calculate mode from an array of integers?


45. What are the disadvantages of C++?


46. What is the difference between user defined object and Standard object?


47. what is the difference between function templates and function overloading?


48. What are anonymous structure, unions and what are their uses?


49. What is a fake pointer?

50. What is the use of new operator?
51. While copying the objects if we say X a=b, X a(b) What will it call, assignment operator or copy constructor? Justify


52. The company pays a sales person on a commission basis. The sales person receives $200 per week plus 9 % of their gross salary for that week. For ex. if sales person who grosses 5000$ then he paid $650($200+$450). Write a prog in C++ (using array of counter) that determine how many of the sales person earned salaries in each of following ranges (assume that each sales person salary is truncated to an integer amount) :a. $200-$299 b. $300-$399 so on..i. $1000 and over


53. What is abstraction?


54. What is the output of printf ("%d")


55. VTable is same for all objects of class. That means it is stored in memory . Can we obtain the address of VTable without creating any object of class?


56. what is the difference between c&c++?


57. what is the difference betwen wait() and delay()?


58. What is "strstream”?


59. What is a class?


60. What is document view architecture in VC++
__________________
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:59 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