What is the difference between C and 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 and Objective-C?

21st Jun 2016, 1:29 AM
Utpal Kumar
Utpal Kumar - avatar
2 Answers
+ 1
Object C is basically C with the "Object oriented" layer added on top. It's a superset of C that has some extra features, So everything in C is also valid in Objective C.
24th Jun 2016, 2:05 PM
Jonathan Morales
+ 1
Objective-C is a strict superset of C, so everything that is valid C is also valid Objective-C. Objective-C just adds a thin object-oriented layer on top of C. C++: it is based on C, and also adds some object-oriented extensions to C, although it's not a strict superset of C.  C is cross-platform and is the language for native development, hands in hands with C++,from desktop computers through mobile devices to microcontroller.
20th Dec 2016, 1:46 PM
Rageeni