233 Views

What's the difference between C and C++ and Which I can do first if I have basic knowledge of HTML and CSS. Will some extra info be req. ?


Aryan 28th May, 2019
Answers (3)
Myneni.pavan 30th May, 2019


hello,

When we compare c and c++ :c is subset of c++

c++ can run c programees

c helps in programming development

c++ helps in object oriented programming

HTML and CSS acts as front end and back end

you can learn c by seeing videos in youtube

u can watch sandeep saradhi

Naresh it c videos

Not only watching videos make you understand u should practice the  code using online c editor.

1 Comment
Comments (1)
30th May, 2019
Thanks 
Reply
NAVEEN MEENA Student Expert 29th May, 2019
Dear Aryan, being a computer science student I found myself very apt to answer this question.
Yeah, it's very much true that C++ is derived from C language. Actually its an advanced version of C.
  • C language is an procedural language that does not support Object Oriented Programming whereas
  • C++ is a combination of both procedural and Object Oriented Programming .
  • C does not support function and operator overloading whereas C++ supports these.
  • C does not have Namespace feature whereas C++ uses Namespace feature to avoid name collisions.
  • C uses functions for input/output. For example scanf and printf whereas C++uses objects for input output. For example cin and cout.
  • C does not provide direct support for error handling (also called exception handling) whereas C++ provides support for exception handling.

These are some of the main differences between C & C++. There are many more.
So, you can see that C is a subset of C++.
Now the question comes which you can do first.
Taking my example Aryan I have done C++ first. We were taught C++ in school time and seriously after coming to college I learnt C as it was in our syllabus. I didn't found any problem with that. What you had done in C++, only its 60% was there in C. So what's the difference. The difference is just the syntax.
Yes, it's true. If you know C or C++ then you will only take max. 2 weeks to learn a different language as these programming languages just differ only in syntax. The algorithm is same for all.
In my opinion if you haven't started with any of the languages then go for C as you will really enjoy the beginning, the basics. Just jumping over to C++ you will learn the language no doubt but you won't be able to know how actually these things made. That's what the best thing about C. And when you come to C++ you will find that you have already done 60% of the things just the syntax differs.
Now comes, HTML & CSS. See aryan these 2 languages are totally different. These are a part of your FROND END DEVELOPMENT (PART OF WEB DEVELOPMENT). You will use them to design Web pages, websites. It's really good that you know them in advance as generally students after leaning C, C++, Java etc opt for Web Development and they learn these two after that.

So, I think I have pretty much solved your problem related to programming language.
All the best
Feel free to ask for any query :)
4 Comments
Comments (4)
29th May, 2019
Thanks alot Bhaiya :") 
Reply
29th May, 2019
Bhaiya from where I can learn C language that is any course available for free as I have just completed 12th this year and have an interest in coding. That's why I wanna learn. Please tell
Reply
Student Expert 29th May, 2019
Yeah you can learn C language from any popular book. Please prefer a book for this not a course. You can also learn via online course but the content given in book creates more interest and anytime you can compare the content, you will find that book's content is more useful.
Now talking about the books, generally preferred book is LET US C. I have studied from this book, just so simple language and best book for a beginner.
Another book is Schaum Series. This book is contains examples with solutions and everything is given already in the book you need not to search through net.

In my opinion Aryan go for Let Us C, if you will learn C language from this book it will really be beneficial compared to Schaum Series.
Let Us C book will make you think even digger in this field and if are able to do the exercises then bingo :)
Hope this would be helpful.
Reply
29th May, 2019
Ohkay bhaiya Thanks alot.
Reply
Komal Dayanand Gardi 28th May, 2019

Hello Aryan,  there is not too much difference in c and c++. C ++ is derived language from c.  C ++ implements all functionality of c,  and along with that it provides some additional features. So you have to learn C language first. Then you can go for c++ . HTML and CSS both are different languages. It is not necessary to have knowledge of these languages to learn C.  But if you have knowledge then it is better. 

I hope it will help you. 

Thanks. 

1 Comment
Comments (1)
29th May, 2019
Thanks a lot didi :") 
Reply

Related Questions

Amity University, Noida Law A...
Apply
700+ Campus placements at top national and global law firms, corporates and judiciaries
Amity University, Noida BBA A...
Apply
Ranked amongst top 3% universities globally (QS Rankings)
VIT Bhopal University | M.Tec...
Apply
M.Tech admissions open @ VIT Bhopal University | Highest CTC 52 LPA | Apply now
Amity University | M.Tech Adm...
Apply
Ranked amongst top 3% universities globally (QS Rankings).
Graphic Era (Deemed to be Uni...
Apply
NAAC A+ Grade | Among top 100 universities of India (NIRF 2024) | 40 crore+ scholarships distributed
Amity University Noida B.Tech...
Apply
Among Top 30 National Universities for Engineering (NIRF 2024) | 30+ Specializations | AI Powered Learning & State-of-the-Art Facilities
View All Application Forms

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books