Members Bookmarks Fresher Jobs Strange Photos Academic Projects New Member FAQ  



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

Paid Surveys


website counter



Simple C++ interview questions


Posted Date: 10 May 2008    Resource Type: Articles/Knowledge Sharing    Category: Jobs & Interviews

Posted By: hhhh       Member Level: Gold
Rating:     Points: 1



Hi friends,


Simple C++ interview questions !!!


1. What is the most efficient way to reverse a linklist?
2. How to sort & search a single linklist?
3. Which is more convenient - single or double-linked linklist? Discuss the trade-offs? What about XOR-linked linklist?
4. How does indexing work?
5. char s[10];
s="Hello";
printf(s);
What will be the output? Is there any error with this code?
6. What is the difference between
char s[]="Hello";
char *s="Hello";
Please give a clear idea on this?
7. Why do we pass a reference for copy constructors? If it does shallow copy for pass by value (user defined object), how will it do the deep copy?
8. What is the difference between shallow copy & deep copy?
9. What is the difference between strcpy and memcpy? What rule should we follow when choosing between these two?
10. If we declare two variable and two applications are using the same variable, then what will its value be, will it be the same?



Regards,
Malik




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: 54 screening questions for Windows admin
Previous Resource: Senior Executive
Return to Discussion Resource Index
Post New Resource
Category: Jobs & Interviews


Post resources and earn money!
 
Related Resources


Contact Us    Privacy Policy    Terms Of Use   

SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.