Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?

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


Please Help Members By Posting Answers For Below Questions

what is bit rate & baud rate? plz give wave forms

2028


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

3657


What are bitwise shift operators in c programming?

1135


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

2246


What is the difference between char array and char pointer?

1119


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.

2149


In a header file whether functions are declared or defined?

1173


Without Computer networks, Computers will be half the use. Comment.

2354


How can I sort a linked list?

1085


Which is better pointer or array?

1070


What is the advantage of a random access file?

1253


Explain bit masking in c?

1192


Why is c called c not d or e?

1145


Write a program to show the change in position of a cursor using c

1122


how can use subset in c program and give more example

2047