What are the differences between C C and C in terms of real-world applications

0 votes
I've decided to try my hand at one of the above languages, but given my interests as a web developer, I'd like to know the difference between them in their real-world applications. Though, I am a web developer, I do understand the concepts of C somewhat. So do go into technical aspects and feel free to explain.
May 30 in C# by pranav
• 2,580 points
23 views

1 answer to this question.

0 votes
C is a bare-bones, straightforward, and clean programming language that forces you to do everything on your own. It will not hold your hand or prevent you from shooting yourself in the foot. However, it comes with everything you'll need to complete your task.

C++ is C with classes introduced, followed by a slew of other features, and then some more. It won't hold your hand for you, but it will let you to do so with add-on GC, RAII, and smart-pointers. If you want to accomplish something, there's a good chance you can utilise the template system to provide you a simple syntax for it. (This is especially true with C++0x). This complexity also gives you the ability to create a dozen copies of yourself and inadvertently shoot them all in the foot.

Microsoft's attempt to improve on C++ and Java is C#. There are a lot of syntactical features, but it's nowhere near as complicated as C++. It runs in a fully controlled environment, so you don't have to worry about memory management. It does allow you to "go dirty" and use unsafe code if necessary, but it is not the default and requires some effort to shoot oneself.
answered May 30 by rajiv
• 1,620 points

Related Questions In C#

0 votes
0 answers

What are the differences between C#.net and Visual Basic.net

I have some VB.net expertise and would ...READ MORE

Jun 11 in C# by krishna
• 1,460 points
2 views
0 votes
1 answer

What is the difference between C# and .NET?

C# is a programming language, and.NET refers ...READ MORE

answered Jun 7 in C# by pranav
• 2,580 points
10 views
0 votes
1 answer

What does the extension method do in c# and why do you need it

Extension Methods allow you to add additional ...READ MORE

answered Jun 21 in C# by krishna
• 1,460 points
9 views
0 votes
1 answer

What does the '=>' syntax in C# mean

Here's a simple MSDN example. delegate int del(int ...READ MORE

answered Jun 14 in C# by krishna
• 1,460 points
7 views
0 votes
1 answer

C# books or web sites for C++

I would recommend checking out C# in ...READ MORE

answered Jun 6 in C# by pranav
• 2,580 points
18 views
0 votes
1 answer

Comparison of C++ STL collections and C# collections

This is what I know Array - C ...READ MORE

answered Jun 9 in C# by rajiv
• 1,620 points
11 views
0 votes
1 answer

How many files are created when a C program is executed

It depends. Depending on the compiler type ...READ MORE

answered 6 days ago in C# by krishna
• 1,460 points
8 views
0 votes
0 answers

Learning C from a background in C#

I'd like to increase my programming expertise, ...READ MORE

Jun 11 in C# by jyoti
• 1,240 points
4 views
0 votes
1 answer

What are major differences between C# and Java

Instead of listing out mutiple points, I ...READ MORE

answered Jun 9 in C# by rajiv
• 1,620 points
10 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP