what is difference between c and c++

Answer Posted / sandeep kumar

C
1)It is structured language
2)It follows Top-down approach
3)large programs are divided into small programs called
functions
4)data move openly from one function to other function

C++
1)It is a Object oriented language
2)It is not compulsory to be top-down procedure
3)large program is divided into small objects
4)data cant be accessed by external functions easily

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the scope of an external variable in c?

569


what value is returned to operating system after program execution?

1606


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1729


Why clrscr is used after variable declaration?

1041


how could explain about job profile

1453






Are global variables static in c?

676


Explain the binary height balanced tree?

726


What are the standard predefined macros?

633


What are the functions to open and close the file in c language?

595


Stimulate calculator using Switch-case-default statement for two numbers

2448


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1075


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

631


What is a structure and why it is used?

621


List the different types of c tokens?

628


Differentiate between functions getch() and getche().

623