main difference between c and c++ language



main difference between c and c++ language..

Answer / guest

c is procedure oriented language
c++ is object oriented language

c is a not secure
c++ is a secured

c is low level language
c++ is a middle language

c is top-down approach
c++ is bottom-up approach

Is This Answer Correct ?    17 Yes 1 No

Post New Answer

More C Interview Questions

which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

0 Answers  


while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?

4 Answers   Aptech,


Why is it important to memset a variable, immediately after allocating memory to it ?

0 Answers  


How to create struct variables?

0 Answers  


What are the advantage of c language?

0 Answers  






1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?

2 Answers   nvidia,


what is function pointer?

2 Answers   Wipro,


void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..

1 Answers  


How can variables be characterized?

0 Answers  


How the c program is executed?

0 Answers  


Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.

2 Answers   Scientific Atlanta, Wipro,


which type of aspect you want from the student.

0 Answers   IBM, TCS,


Categories