difference between c/c++ programing language?
what is necessesity of c++ when existing c programing
language?







Answers were Sorted based on User's Feedback



difference between c/c++ programing language? what is necessesity of c++ when existing c programing..

Answer / kavibharathi

The main reason is lengthy C programs lose "Global View" and
become very difficult to visualize as a single concept.

C++ is an advance than C lang which has more features...

But comparing efficiency C is more efficient than C++

But C++ has more flexibility than C.

Also C++ is both combination of OOP and OBP concepts.

C++ has more features as

1.Object oriented
2.Information hiding
3.Standard Template Library
4.Inheritance
5.Constructors & Destructors
6.Exception Handling
7.Overloading

Is This Answer Correct ?    28 Yes 0 No

difference between c/c++ programing language? what is necessesity of c++ when existing c programing..

Answer / sathiyabama t

Structures of C++ can have functions in them but C
structures can only have variables
For I/O C++ has iostream.h and C has stdio.h.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More C C++ Errors Interview Questions

quoroum of computer languages?

0 Answers   Infosys,


How to convert hexadecimal to binary using c language..

1 Answers   Bajaj, GAIL, Satyam, Zenqa,


what is macro in c? Difference between single linked list & double linked list what is fifo & lifo? what is stack & queue?

2 Answers   TCS,


Given an int variable n that has already been declared and initialized to a positive value, and another int variable j that has already been declared, use a do...while loop to print a single line consisting of n asterisks. Thus if n contains 5, five asterisks will be printed. Use no variables other than n and j .

2 Answers  


Why are memory errors hard to debug?

1 Answers  






what is run time error?

7 Answers  


Write down the difference between c. Loop and goto statement d. (!0) and (!1) e. (1= =! 1) and (1!=1) f. NULL and !NULL

0 Answers  


what is exceptions?

5 Answers   HCL, Wipro,


how to convert decimal to binary in c using while loop without using array

50 Answers   Apple, Aptech, Arwen Tech, BCS, C2D Software, CEC,


How to create a program that lists the capital country when told what the original country is? (Terribly sorry, I'm a novice programmer and would appreciate any help ;). Cheers, Alexxis

0 Answers  


WHAT WILL BE THE OUTPUT OF THE FOLLOWING QUESTION void main() { int x=4,y=3,z; z=x-- -y; printf("%d%d%d",x,y,z); }

25 Answers   HCL,


write the value of x and y after execution of the statements: int x=19,y; y=x++ + ++x; x++; y++;

0 Answers  


Categories