Answer Posted / vignesh1998i
1) C is structured oriented language and C++ is an object oriented language
2) in C we must finish our decleration in the very next line of void main() , but in Cpp wherever u need a variable storage data , before that instruction we must declare it......
3) In C structures are used , in that only data members can only be declared and member functions not included , but in Cpp inside a class (same as strucutres) both data members as well as member functions can be used..
4) in Structure all the members and strucutre variables are global by default...... but in Cpp by default the data members are private.....
SIMILARITY :
1) both C & C++ uses Overloading concept....... (very important )
thank u
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
what is bit rate & baud rate? plz give wave forms
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
What are bitwise shift operators in c programming?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
What is the difference between char array and char pointer?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
In a header file whether functions are declared or defined?
Without Computer networks, Computers will be half the use. Comment.
How can I sort a linked list?
Which is better pointer or array?
What is the advantage of a random access file?
Explain bit masking in c?
Why is c called c not d or e?
Write a program to show the change in position of a cursor using c
how can use subset in c program and give more example