Introduction to C Programming Language

Resource download – C Character set PDF (Click here to download)

The above video is an extract from the online course – “C Programming: The ultimate guide for beginners” which we are currently working on. Consider subscribing to Youtube channel – Aptuts in order to get latest updates on new videos and online C programming course.

C programming is a language developed by AT & T’s Bell Laboratories of USA in 1972. It was designed and written by a man named Dennis Ritchie. C language is reliable, simple and easy to use. It has survived for more than 4 decades. This language is a base to learn different programming language.

If you want to learn C++ or JAVA, without the knowledge of C, it becomes very difficult to learn these programming languages. Many major components of popular operating systems like Windows, UNIX, LINUX are still written in C.

Nothing beats C language in terms of speed of execution.

Before starting with programming, let’s have a look at the C Character set.

C programming character set

Any alphabet, digit or special symbol can be termed as a character. Below table shows list of valid alphabets, digits and symbols allowed in C.

Alphabets:

A, B, C, D, … ,X, Y, Z
a, b, c, d, … ,x, y, z

Digits :

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Special Symbols :

~ ‘ ! @ # % ^ & * ( ) _ - + = | \ { }
[ ] : ; " ' < > , . ? /

Note: These are the valid character sets according to C standards. Most recent compilers such as GNU C allow usage of “$” as a special symbol. “$” is part of the extension provided by new compilers. However, it is not valid as per C standard.

Following are the basic data types in C programming:

  1. Numeric data type: deals with numeric data such as integer or float data type
  2. Non-numeric data type: deals with non numeric data such as characters
  3. Integer data type: deals with integer or whole number
  4. Real data type: deals with numeric data that includes fractions
  5. Enumerated data type: These data types are defined by the user

C is awesome to learn. Initially, while starting with C programming, you might find it bit difficult. But, once you get hold of it, you will find C very easy. So the key takeaway is if you want to learn C, don’t loose hopes. If you have any questions related to C then please feel free to post your comments.

This C tutorial is brought you by LearnCOnline.com

You may also like...

97 Responses

  1. Alex says:

    Nice website… really useful for new learners like me.

  2. LearnCOnline says:

    Thanks a lot. 🙂

  3. pediatrics says:

    let us see whether you can teach me to C.

  4. Anonymous says:

    im a computer illiterate i hope that i will learn from this site and discover my talent as a computer genius

  5. deepika khanna says:

    this is quite an interesting site to learn c for the beginners .it gives brief knowledge of every topic which is useful in understanding c better

  6. Anonymous says:

    a real good start

  7. arti says:

    awsome…………….

  8. jagtheesh says:

    nice..

  9. LearnCOnline says:

    Thanks all for your wonderful comments… 🙂

  10. Anonymous says:

    nICE…THANKS

  11. Richard says:

    thanks great site for beginners..

  12. Anonymous says:

    keep it up sir! this is an awesome site.

  13. Anonymous says:

    thats really simple and easy to understand

  14. KUNAL says:

    It is in a very simple and lucid language …it is easily understandble…thanks for providing it

  15. Mas'ood Munshie says:

    is this good for me to learn if i’m doing software development next year?

  16. LearnCOnline says:

    Yes. It would be very helpful to you if you are planning to do software development as C programming is considered as a basic to learn any other programming language.

  17. Mohamed says:

    simple,to the point,very good start for beginners.Nice work

  18. syed asim rizvi says:

    Thanks for the owner of this.. i have cleared my basic of C.

  19. Anonymous says:

    Sorry to prove you wrong, but assembly runs faster than C. Takes loads longer to code, though.
    Trying this site ’cause I can read C, but not write it, and after VB.net and C#, i thought I might as well try C

  20. jesal says:

    gr8 work

  21. nice work and in ict exam… i got good marks… thanks….

  22. nice work and in ict exam…. i got good marks and my parents proud of me…. thanks…

  23. Anonymous says:

    thank you so much

  24. Rohan Shah says:

    Good one for the beginners. specially It is point to point which is good who has no idea about the programming

  25. Anonymous says:

    This is great. Thanks.

  26. sateesh says:

    it’s very helpful for learning c easily

  27. vishal kumar says:

    really helpful ………….

  28. Anonymous says:

    great things m doin bsc it 1st year after choosing commerce in math and never studied computer after 8th but this website proves useful to me i m able to do the programs

  29. kevin kettle says:

    best tutorial i have seen yet for learning C! Explained so well and simple!

  30. I once used delphi and foxpro in the early days of my IT education, but C++, I’ve never studied before. Looking forward to keep on reading this blog.

  31. Thanks for wonderful teaching.
    Am i really need c/c++ if i am doing electronic engineering from iit Delhi??

  32. nice website to learn c++…

  33. Sofi Boo says:

    I like this blog so much. I hope ill learn something from this cuz i failed on my test in C :/

  34. i am going to study c from this blog starting from tommorow. .. .let me see whether i could complete is successfully. . .wish me good luck 😀

  35. LearnCOnline says:

    All the Best… Hope this C programming tutorial website would be useful to you.

  36. Anonymous says:

    in which program we encode c?

  37. akash says:

    this website is really best for programmers

  38. kuldeep says:

    superb to learn c lang. rly like it

  39. abortive faysal says:

    really nice website for new learners.

  40. nikhil porwal says:

    its a realy grrrrrr8 site for larning c lang.

  41. Anonymous says:

    I liked it really thanx 4 helpng students to clear there c basics

  42. erlend says:

    Thanks. You write well!

  43. Very Wonderful Site.. Nice information.. Thanks a lot

  44. This is very Important for me.

    Thanks very much

  45. samia says:

    aha i think wid this site i can do well in class. thanx

  46. Siam Bari says:

    this website is way too helpful… thanks to the creator

  47. Anonymous says:

    The tutorial of c looks very easy to me.I wanna b a programmer.I will follow these tutorials and earn success,tnx buddy. 😀

  48. srinivasulu says:

    really useful

  49. Anonymous says:

    awsome

  50. Anonymous says:

    i m unaware of the basics of c …i m a new beginner ..would this site be useful?\

  51. RMP says:

    i really feel good for learn at KG level…very useful for us…

  52. Anonymous says:

    Good site

  53. Anonymous says:

    Good site! I liked it

  54. Anonymous says:

    nice

  55. Anonymous says:

    can this be useful for my placement??bcoz my placements are nearing

  56. Anonymous says:

    Darshit patel ….

    I have a basic knowledge of computer , internet, networking etc.. Bt i want to learn more nd an about c,c ..i want to be a computer master nd i really know that i deserved it …… !

  57. Anonymous says:

    thank’s its a nice site regard(hacker’sgod)

  58. nakul0087 says:

    This is Very good Knowledge & Fantactic Knowledge

  59. really this is helpful for beginners ………..

  60. Anonymous says:

    thats really awesome site for beginners like me. Lets see this can teach me C or not! 🙂

  61. really easy to learn C language from this website…I have exams of O level…so I have been learning C from this site very successfully..

  62. sukesh kumar says:

    how can i learn c language in online

  63. Anonymous says:

    what is the use of header files #include ,#include??
    ..what is the difference between them???
    should we use both??

  64. Vishal Patil says:

    This is very good websites. I think that creator is not only IT Professional but also social worker. May god bless you.
    Thank You creator. Creator is really father of programming world.

  65. LearnCOnline says:

    Thank you everyone for the wonderful comments. I hope this website is helping every one out there.

    If you like this website, kindly share it with everyone.

    Thanks,
    LearnCOnline Team

  66. its very good website

    its very helpful for me

  67. Anil says:

    Very Interesting.. Done a Very Good job… 🙂

  68. Manish says:

    Wow. Its a excellent website to learn C programming language. Learning C programming is now very simple. Thanks a ton to the author of this website. You are doing a great job. I will definitely share this website with my friends. You rock. Thanks.

  69. Mark says:

    Hello to every body, it’s my first go to see of this web site;
    this web site carries amazing and actually good data designed for readers.

  70. niraj says:

    Guys Firstly i want tell you one thing

  71. muthukumar says:

    wow!
    It is very simple,
    best website for beginers like me.

  72. Majo says:

    Hi thanks for the website. I was wondering if there is a way to practice writing programs without actually modifying anything in my PC? I have Windows 7 (I know) and would like to write programs and compile them without causing problems. Is this possible? Also I would like to use unistd I dont know if this changes anything? Thanks so much!

  73. h.v.m says:

    yes,this website is really use for me

  74. Aware says:

    Your effort to put this up online was marvelous.
    It will be used as guidance for generations to come.

    Thank you for this and all that you’ve done.
    It makes a great difference in our lives.

  1. June 12, 2014

    Learn C Online is the fourth free online outlet where beginners can start learning C programming, this is a text-based training and there are no videos. You don

Leave a Reply

Your email address will not be published. Required fields are marked *

FREE C Cheatsheet - Speed Up Your C Programming.

FREE C Cheatsheet - Speed Up Your C Programming.

Download a 7-page free cheat sheet for easy and quick access to C Concepts, Snippets, and Syntax.

Thank you! Check you inbox and access your cheat-sheet