Vous êtes sur la page 1sur 6

FreeJobAlert.

com
Government | Bank | IT Freshers jobs |Walkins

Home All India Govt Jobs State Govt Jobs Bank Jobs Teaching Jobs IT Jobs IT Walkins Engineering Jobs Railway Jobs Police/Defence Jobs Current Affairs

Dear FreeJobAlert users always type .Com after Freejobalert .Beware of duplicate websites with FreeJobAlert name.
Advertisement

Notifications Latest Notifications Upcoming Notifications Latest Announcements Exam Results Interview Results Interview Schedule Exam Date Reminder Written Marks

Admit Card / Call Letter To Be Announced Later

Exam Results Interview Results Interview Schedule Exam Date Others

Cutoff Marks & Answer Key Eligibility Syllabus Exam Pattern & Selection Process Previous Papers Interview Questions
Advertisement
Search

Get Free Job Alerts on your Mobile by SMS- Subscribe now

c++ interview questions and answers | Part1


If you would like to view All C++ language interview questions only, at one place, visit below link All C++ Language Interview Questions 1. What is a class? Ans: The objects with the same data structure (attributes) and behavior (operations) are called class. 2. What is an object? Ans: It is an entity which may correspond to real-world entities such as students, employees, bank account. It may be concrete such as file system or conceptual such as scheduling policies in multiprocessor operating system. Every object will have data structures called attributes and behavior called operations. 3. What is the difference between an object and a class? Ans: All objects possessing similar properties are grouped into class. Example :person is a class, ram, hari are objects of person class. All have similar attributes like name, age, sex and similar operations like speak, walk. Class person { private:

char name[20]; int age; char sex; public: speak(); walk(); }; 4. What is the difference between class and structure? Ans: In class the data members by default are private but in structure they are by default public 5. Define object based programming language? Ans: Object based programming language support encapsulation and object identity without supporting some important features of OOPs language. Object based language=Encapsulation + object Identity 6. Define object oriented language? Ans: Object-oriented language incorporates all the features of object based programming languages along with inheritance and polymorphism. Example: c++, java. 7. Define OOPs? Ans: OOP is a method of implementation in which programs are organized as co-operative collection of objects, each of which represents an instance of some class and whose classes are all member of a hierarchy of classes united through the property of inheritance. 8. What is public, protected, and private? Ans: These are access specifier or a visibility lebels .The class member that has been declared as private can be accessed only from within the class. Public members can be accessed from outside the class also. Within the class or from the object of a class protected access limit is same as that of private but it plays a prominent role in case of inheritance 9. What is a scope resolution operator? Ans: The scope resolution operator permits a program to reference an identifier in the global scope that has been hidden by another identifier with the same name in the local scope. 10. What do you mean by inheritance? Ans: The mechanism of deriving a new class (derived) from an old class (base class) is called inheritance. It allows the extension and reuse of existing code without having to rewrite the code from scratch. Related Fresher Interview Questions 1. C Language Interview Questions 2. C++ Language Interview Questions 3. Data Structures Interview Questions 4. DBMS Interview Questions 5. Operating System Interview Questions 6. UNIX Interview Questions No related posts.

Tags:aptitude question on c++, basic c++ interview questions, basic c++ interview questions and

answers, basic c++ interview questions answers, c and c++ interview questions for freshers, c interview questions, c interview questions and answers, c interview questions and answers for freshers, c interview questions for freshers, c++ interview questions answers, c++ interview questions for experienced, cpp interview questions, cpp interview questions and answers, fresher interview questions, fresher interview questions and answers, fresher interview questions and answers on c and c++, fresher interview questions on c and c++, fresher interview questions with answers, interview question on c++, it fresher interview questions, it fresher interview questions and answers, objective question on c++, objective type question on c++,question on c++, questions for interview, technical question on c++, viva question on c++

One Response to c++ interview questions and answers | Part1

sarveshi says:
October 19, 2011 at 10:09 pm what is the five main difference between java & c++. Reply

Leave a Reply
Name (required)

Mail (will not be published) (required)

Website

Submit Comment

Share:
Free E-mail Job Alerts

Enter your email address:

Subscribe

Delivered by FeedBurner

Advertisement

LATEST EXAM RESULTS

RRC South Eastern Railway Results 2012 Group D Posts Exam Results Cochin Shipyard Results 2012 Executive Trainees Written Exam Results SSC Results 2012 Combined Graduate Level (Tier I) Exam 2012 Results RPSC Results 2012 Programmer Exam & Acct/Jr Acct Final Results PGIMER Results 2012 Jr Technician, OTA Written Exam Results
view more

LATEST INTERVIEW RESULTS

Rail Coach Factory Results 2012 Act Apprentices Final Results SHSB Results 2012 Nurse Gr A Final Results CMRL Results 2012 Stenographer Final Results RPSC Results 2012 Programmer Exam & Acct/Jr Acct Final Results MPSC Results 2012 Higher & Lower Grade Stenographer Final Results
view more

LATEST IT INTERVIEW/TECHNICAL QUESTIONS

.Net Interview Questions ADO.NET Interview Questions SQL Server interview questions | create table SQL Server interview questions | data integrity constraints SQL Server interview questions | indexes

view more

LATEST IT PLACEMENT PAPERS

wipro placement paper pattern 2010 hp placement paper March 17th 2010 hp placement papers 2010 aditi sample placement paper II aditi sample placement paper I
view more

RECENT POSTS

UPSC Geologist Exam Syllabus UPSC Geologists Exam Selection process UPSC Geologist Exam Pattern UPSC Geologist Exam Eligibility Details RRC Guwahati Group D Posts Selection Process RRC Guwahati Group D Posts Eligibility Criteria SBI Associate Banks Admit Card 2012 Clerk Written Exam Call Letter Download Future Weavers Professional Academy Chandigarh CRB Excelsior Institute Chandigarh
Find FreeJobAlert on

Notice: Always type .Com after Freejobalert . Beware of duplicate websites with FreeJobAlert name. Freejobalert.Com is the ONLY Official website of FreeJobAlert Policy Contact Us Copyright 2010-2012 FreeJobAlert .com All Rights Reserved.
FreeJobAlert.com provides free job alert service to job seekers in India on latest government jobs, on study material and on video lessons with online test. To get free job alert daily subscribe to our email and SMS job alert services.

Read more: c++ interview questions and answers for FreeJobAlert.com http://www.freejobalert.com/c-interview-questions-and-answerspart1/6727/#ixzz27pmw57sF

freshers

Vous aimerez peut-être aussi