--> Learn Computer Programming - Basic C Programming (Part 02) | Computer and Mobile Tips and Tricks

Learn Computer Programming - Basic C Programming (Part 02)

Learn Computer Programming - Basic C Programming (Part 02) Learn Computer Programming - Basic C Programming (Part 02) Basic C Programming an...

Learn Computer Programming - Basic C Programming (Part 02)

Learn Computer Programming - Basic C Programming (Part 02)
Basic C Programming and Programming Language

In our first lesson, we got a general idea, why and how a program work and how to be a programmer. In this Lesson we know about the C programming and how to start with it. But firstly let's see other programming languages for idea about programming Language.
  • Java
  • PHP
  • JavaScript
  • Python
  • Objective-C
  • Ruby
  • Perl
  • C, C++ and C#
  • SQL
  • Swift
Today we are going to know about the C programming that's very important for computer programming.  Computer is worked by C programming, as we take decision and create solution, computer programming define the system of creating computer decision according by programming.

What is the need of programming language?

Programming language is a language that allows computers to work. Although the fact is that the computer only understands nothing except 0 and 1. Should the computer use all the directions 0 and 1? But then writing the program will become very complex.
It is a matter of confidence that in the beginning, using the program only using 0 and 1, but after the release of this problem, every instruction started using the metaphor (eg. ADD, SUB, etc). This is called Assembly Language. Along with this, Assembler is a software that converts metaphor instruction into auto machine language.
But there are problems with this assembly language. People who have sufficient knowledge about machine only they can write program. Then how do I or you?
For our convenience, developers gradually discover a little high level language such as C, C ++, Java etc. For this language you need to know some of about machine to write program.

Structure of C program

C is a mid-level programming language. There are three part of C programming.
  1. Header file
  2. Main () function
  3. Others Function
The C program is composed of one or more functions. Each C program has a user defined function named main (). A small C program can be written as :

It is good to say that if you type Main () in the place of main (), then your compiler showing it as error. In some programs in the place of semicolon, if you give comma or doesn't use semicolon then again you get error.

As you would like to give instructions inside the main () function, the semicolon must be at the end. Suppose you are trying to print a line. In that case, you have to use the printf () function.

As mentioned earlier, a header file is required to declare C program. The process of declaring header files,

add > on finishing of header tag

OK Now, running a program should start the programming part. You can start C programming with any compiler. Turbo C, codeblocks anything. If you do not have codeblocks software on your computer you can easily download it from here.


In this website you can download binariae release and install it.

If code-blocks are installed, open a new project and you see a window like this.

Learn Computer Programming - Basic C Programming (Part 02)

From there click on the Console application and save the location by typing the name of the program and the new window appear to write the program.

Or you can also open a new project from the file. Now write a program like this :

By typing this and clicking on the top green button you can see the program on a separate screen-

I am a C programmer.

This way you can easily write your first program. Now hold that you want to write two lines. What will you do? Very simple. The printf will be written twice.

I am a C programmer, This is my first program, there are two line outputs

But if you want this line one after another like
I am a C programmer
This is my first program

In that case you need to add \ n to the end of the first line. \ n means new line.

Well, before second line if you enter \ n  will you get your desired output? Practice yourself.

In the beginning, please typed the line repeatedly without copy paste. And in the next phase, we have come up with some more common topics of C programming. Again, I am going to say that I will try to give some basic concepts of basic programming in C ++, through a few parts. Through this you can not learn programming, I know. But it also knows that after reading all the parts, there might be some interest in learning programming. And if you are interested, you will learn as first as you don't know. 😀

Happy Programming ..



AMD vs. Intel,1,Blogger Template,1,Boot Problems,4,Computer,31,Computer Programming,4,Computer Software,20,Conversion,1,Data & Recovery,3,Download IDM,5,Driver Solution,2,Firmware Installing,3,Fiverr,2,Freelance,3,Games,5,Garena Free Fire,3,Hacking,8,Hardware,3,Microsoft Office Softwares,6,Mobile,14,Mobile Brands,2,Mobile Information,2,Mustek,1,Original Driver Disk,1,Paid_Software,2,Payments Rules,1,Performance,4,PUBG Mobile,2,Router Choice,1,SEO,6,Smartphone_Performance,1,Software,1,Specification,6,Troubleshooting,5,Upcoming,5,Video Making Tips,3,WhatsApp Group,7,Windows 11,2,Windows 365,1,Windows OS,4,WordPress,1,
Computer and Mobile Tips and Tricks: Learn Computer Programming - Basic C Programming (Part 02)
Learn Computer Programming - Basic C Programming (Part 02)
Computer and Mobile Tips and Tricks
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content