what is difference between c and c++

Answer Posted / vignesh1988i

C C++
1) C is an structured oriented object oriented lang.
language
2) C use structures where no here it contains classes
function and data's inside where it contains both data's
involved . only outside we as well as member functions
can write functions and
initilization could be done
3) variables should be wherever we wann we can
initilized on the first line initilize the variable
after the main function

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why static is used in c?

629


Explain the process of converting a Tree into a Binary Tree.

2117


Simplify the program segment if X = B then C ← true else C ← false

2593


What is the use of a semicolon (;) at the end of every program statement?

788


What are # preprocessor operator in c?

640






a program that can input number of records and can view it again the record

1496


What is the difference between array and structure in c?

577


Was 2000 a leap year?

642


What is #include stdio h and #include conio h?

608


what do you mean by enumeration constant?

605


What are the two types of functions in c?

579


is it possible to create your own header files?

650


What is a program flowchart and explain how does it help in writing a program?

690


What are identifiers in c?

645


What the different types of arrays in c?

620