difference between c and c++

Answer Posted / chhaya

about C language:=
1) it is procedural laguage i.e. real word entity write in
procedur form i.e. set of instruction
2) it is bacis langues
3)execution of programe is top to bottom.
4)it does not handle
overloading,encapsulation,inheritance,constuctor,distructor
these concept

about C++:=
1)it is object oriented language i.e here real word entity
can be conver into object.
2)c++ is extend from C language
3) it aontain new concept like
overloading,encapsulation,inheritance,constuctor,distructor
etc
4)it follow all the sytanx of c
5) Execution of program is bottom to top.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain what are pointers?

631


What is a struct c#?

609


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

1967


Why #include is used in c language?

607


Explain c preprocessor?

691






What are header files? What are their uses?

650


what do u mean by Direct access files? then can u explain about Direct Access Files?

1653


Explain what is meant by 'bit masking'?

652


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

1520


What is the use of function in c?

723


What is the difference between a function and a method in c?

573


Hai what is the different types of versions and their differences

1497


Explain what is output redirection?

674


What is 1f in c?

1855


What is sorting in c plus plus?

570