Saturday 24 September 2022

C Language for School Student

C is a high level language and structured programming language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs.

 

C programming language features were derived from an earlier language called “B” (Basic Combined Programming Language – BCPL).

 

C is very popular because of Reliability, Portability, Flexibility, Interactivity, and Modularity.

 

C is a middle level programming language. Main feature of C is we can divide programme into the smaller modules which increases efficiency of programme.

 

C contains following topics at TCCI:

 

Introduction to C, Basic Syntax, Token, Data Types and Variables, Constants, Literals, Storage class, Operators, Loop Controls, For Loop, While Loop, Do-While Loop, Decision Making, Arrays, String, Function, Pointer, Structure, Union, Type Casting, Recursion, Files, Command Line Argument.

 


Example:-

#include <stdio.h>

int main()

{

printf("Happy to learn C language");

   return 0;

}

 

Output:-

Happy to learn C language

Structure of C Program

 

Documentation part consists of the description of the program, name, and creation date generally written in the form of comments.

Link part consists of all header files are which contains different functions from the libraries.

 

Definition part consists of Includes pre-processor directive, which contains symbolic constants.

 

Global Declaration part consists declaration of global variables, function declarations, static variables, global variables, functions etc.

 

Main() Function part consists of the execution of the main() function and mandatory to include a main() function in every C program.

 

Subprograms part consists of user-defined functions which include inbuilt functions, and the function definitions declared in the Global Declaration section.

 

Lectures conducted by Expert Faculties at your comfortable schedule at TCCI. You can get the Best knowledge in your field through our Experienced Faculties.

 

TCCI-TRIRID provides best teaching in various programming courses through different learning method/media.

 

For More Information:                                          

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com

No comments:

Post a Comment