Sunday, January 21, 2018

C Programming Language Tutorial-part-1

C Programming Language Tutorial


The C Language is produced for making framework applications that directly communicates to the equipment gadgets, for example, drivers, kernels and so on.

C writing computer programs is considered as the base for other programming dialects, that is the reason it is known as mother dialect.

It can be characterized by following ways:


  1. Mother language
  2. System programming language
  3. Procedure-oriented programming language
  4. Structured programming language
  5. Mid-level programming language

for compiling C programming code we need "Codeblock" software.



In the first place C Program 

Before beginning the abcd of C programming, you have to figure out how to compose, gather and run the principal c program. 

To compose the primary c program, open the C console and compose the accompanying code:

                         #include <stdio.h>
                                    int main()
                                         {
                                              printf("Hello freeboighor.blogspot.com");
                                              return 0;
                                         }  
                          Output:    Hello freeboighor.blogspot.com
#include <stdio.h>--- have the library of standard input output function . The printf() work is characterized in stdio.h .
int main() --- The main() work is the section purpose of each program in c dialect.
printf() --- The printf() work is utilized to print information on the support.
return 0 --- The return 0 explanation, returns execution status to the OS. The 0 esteem is utilized for fruitful execution and 1 for unsuccessful execution.
 Build and run the c program
for build go to Build menu and click on Build (also can do it by shortcut key Ctrl + F9)
for build go to Build menu and click on Run (also can do it by shortcut key Ctrl + F10)
also can do it together by simply click on Build&Run option or press F9.

Tag: C Programming Language Tutorial, first program,download code block,first program in c, compile and run the c program, Build and run the c program, Build and run the c program in code block.


No comments:

Post a Comment

Freelancing Website

Top online Earning or Freelancing Website 1. https://creativemarket.com/                 Graphics and Photography Related Site ...