difference between c and c++ languages
difference between templates and class,structures in c language and class
and structures and templates
difference between java and c++

Recommended Answers

All 2 Replies

explain memory allocation in c asnd c++
explain what is procedural language as well as object oriented language distinctly in simple words

>difference between c and c++ languages
++

>difference between templates and class, and structures and templates
There's no comparison, the two solve different problems.

>structures in c language and class
C structures have fewer features.

>difference between java and c++
A world.

>explain memory allocation in c asnd c++
Ask for memory and then use it. In C the most common way is

p = malloc ( n * sizeof *p );

or

p = malloc ( sizeof *p );

And in C++ the equivalent is

p = new type[n];

or

p = new type;

>explain what is procedural language as well as object oriented language distinctly in simple words
Procedural language: Do this, then this, then this until the problem is solved.
OO language: Use these objects to solve the problem.

So...at what point do you plan on doing your own research? People won't always hand out the answers to you, so it would be a good idea to get into the habit of reading and searching for information that you want rather than just posting your (vague and thus difficult to answer properly or concisely) questions and presumptuously expecting others to do your work for you.

commented: VERY good post! +3
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.