about c | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

about c

if we learn c++ then we write the program in c

20th May 2020, 5:13 PM
Akansha Verma
Akansha Verma - avatar
4 Answers
+ 3
Actually C is Basic Language and C++ is derived from C. C++ would be having such codes which are not applicable in C . Try to avoid mixing of C and C++ as both have different Syntax.
22nd May 2020, 8:56 AM
DEVENDRA SIRVI
DEVENDRA SIRVI - avatar
+ 1
C ++ is an extension of C. It is the C with more features and functions. And the main difference is that C ++ is multi-paradigm: you can program in C ++ with the Structured paradigm (C is only structured) or with the Object Orientation paradigm (like the Java language, for example).
21st May 2020, 1:27 PM
Ivan Mello
Ivan Mello - avatar
0
C is the programming language that is preffered after Qbasic ( a programming language ) and before any OOPS (Object Oriented Prog.) like Java, C++, C#, etc. C is preffered because it is strongly typed ( means if you have to declare integer variable you should use 'int' and so on). This feature of C improves keyword and variable declaration knowledge in beginners.
22nd May 2020, 9:24 AM
Bhola Pd. Shah
Bhola Pd. Shah - avatar
0
You can write C++ using C abilities(functions and etc.). And also C++ is OOP when C is only procedure language. Historicaly C++ is the evolution of C. So you decide what to use : a stone hummer, or steel hummer. Something like that I guess.
16th Jun 2020, 12:26 PM
Denis Zinkov
Denis Zinkov - avatar