Community Sites
Create your own community website and start earning today !
It's Free !
Forum
Resources
Mentors
Projects
Entrance Exams
Question Papers
Colleges
Courses
Universities
Schools
Make Money
Communities
Members
Bookmarks
Polls
Fresher Jobs
Funny Photos
B.Tech Projects
New Member FAQ
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Syed
(432)
Radharani
(196)
Nilesh Panchal
(164)
Last 7 Days
Syed
(1199)
Sparsha
(1189)
Namita Jha
(924)
more...
Awards & Gifts
Online Exams
Aptitude Questions
General Aptitude Tests
Medical Entrance
Engineering Entrance
Bank Tests
TOEFL & IELTS Questions
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.
Software Development C / C++ – Frequently Asked Questions with answers
Posted Date:
28 Jan 2008
Total Responses:
1
Posted By:
Salma
Member Level:
Gold
Points
: 5
1.) How to Split an Image File in C Language?
To split an image file various logics are there. the best logic in such a way that take the size of the file using c file functions and split into the pieces how many required by asking the input.
2.) What is the difference between an ARRAY and a LIST?
Array is collection of homogeneous elements. List is collection of heterogeneous elements. For Array memory allocated is static and continuous. For List memory allocated is dynamic and random. Array: User need not have to keep in track of next memory allocation. List: User has to keep in Track of next location where memory is allocated.
3.) Define a constructor - what it is and how it might be called?
Constructor is a member function of the class, with the name of the function being the same as the class name. It also specifies how the object should be initialized
4.) Define a constructor - what it is and how it might be called?
Constructor is a member function of the class, with the name of the function being the same as the class name. It also specifies how the object should be initialized Ways of calling constructor:
1) implicitly: automatically by compiler when an object is created.
2) Calling the constructors explicitly is possible, but it makes the code unverifiable.
5.) You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. new () and malloc()?
1.) “new and delete” are preprocessors while “malloc() and free()” are functions. [we don’t use brackets will calling new or delete].
2.) No need of allocate the memory while using “new” but in “malloc()” we have to use “sizeof()”.
3.) “new” will initlize the new memory to 0 but “malloc()” gives random value in the new allotted memory location [better to use calloc()].
6.) Explain term POLIMORPHISM?
POLYMORPHISM : A phenomenon which enables an object to react differently to the same function call. in C++ it is attained by using a keyword virtual
7.) What are 2 ways of exporting a function from a DLL?
1. Taking a reference to the function from the DLL instance.
2. Using the DLL’s Type Library
8.) Describe PRIVATE, PROTECTED and PUBLIC – the differences?
The Difference Between the private Public and Protected member are: public methods/attributes are accessible to all classes. Protected are accessible to class and derived classes. Private are only for class (not for derived classes)
Responses
Author:
supreme
31 May 2008
Member Level:
Gold
Rating:
Points
: 2
Where do you get these questions from.Why dont you leave a link to the Interview questions so that everyone can get it. Anyway Great collection of questions and answers. Keep Going
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Next :
C# – Frequently Asked Questions with answers
Previous :
Software Development EJB – Frequently Asked Questions with answers
Return to Discussion Forum
Post New Message
Category:
General
Related Messages
What is Pratibha Patil's official website or homepage ?
Cosmic energy
Good GRE Scores - A GRE Test taker's GRE Experience
VERY TOUCHING- DR. A. P. J. Abdul Kalam 's Speech in Hyderabad
Bangalore university official website address
Watch TV Channels
Watch Asianet online
Kairali TV in Internet
Surya TV online
Amritha TV Channel
Contact Us
Privacy Policy
Terms Of Use
SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.