difference between c and c++?

Answer Posted / abhisek pramanik

1] c is procedure oriented programing & c++ is object
oriented programing.
2] we can't do programing through class in c,but we can do
in c++.
3] c is top to bottom programing approach, c++ is bottom to
top programing approach.
4] c++ is high level language,c is low level language.
5] c++ accept all the feature & function of of c & its own
properties,but it is not happened in c.
6] data can move in c openly arround in the system from
function to function.In c++ data is hidden can't be
accessed by external function.

Is This Answer Correct ?    124 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of operator overloading?

678


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

560


What data encapsulation is in c++?

592


What is anonymous object in c++?

628


What is the fastest c++ compiler?

582






What is a constant reference?

614


what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?

1766


Which programming language should I learn first?

574


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2245


What is cin clear () in c++?

608


When one must use recursion function? Mention what happens when recursion functions are declared inline?

644


What is private inheritance?

592


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

3402


Differentiate between a constructor and a destructor in c++.

558


What operators can you overload in c++?

592