What is the difference between c,c#,c++, objective c. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between c,c#,c++, objective c.

I am learning c# now. I am confused about c,c#, objective c

30th Jan 2017, 5:16 AM
Mani Krrish
Mani Krrish - avatar
2 Answers
+ 7
In a nutshell: C is a old programming language but still reliable and decently useful C++ is the advanced version of C, it is much more powerful but need good skills to operate. C# is the safer version of C, it is easier to work with and newbie friendly. But limited in what it can do.
30th Jan 2017, 9:42 AM
Wen Qin
Wen Qin - avatar
+ 3
c & c++ are low level languages. Objective c can arguably be considered both low level and high level. c# is a high level language closely related to java (basically microsofts version of java). c is a procedural language that is that it is not object orientated (OOP). c++, objective c, and c#, however, are object orientated. Low level languages work closer with the hardware and typically need to be compiled into an executabe file for each of the various types of machines they are going to run on. (Windows, Mac, Linux, 32bit, 64bit etc) They also usually use pointers and require the programmer to handle memory management. High level languages like c# and java are compiled into bytecode that run on top of a virtual machine that is installed for that particular type of machine and handles the communication between the program and the machine. They typically handle memory management through some form of garbage collection. c, c++, objective c, c#, and java share most of the same c based syntax. Objective c acts as both a low level language in the way it compiles and its use of pointers, and as a high level language in the way it helps you to easily manage memory among other things. Objective c can be a difficult language to learn when compared to the others IMO. Also, IMO Objective c is not a language that I would spend to much time learning any more as Apple is moving on to the Swift language. Unless of course you're going to be using it on something other than an Apple product.
30th Jan 2017, 6:47 AM
ChaoticDawg
ChaoticDawg - avatar