14,710 views 285 on YTPak
80 3

Published on 09 Apr 2013 | over 3 years ago

For more free Urdu Tutorials click here: bit.ly/ZcRlXc
Like us on facebook: on.fb.me/13Z3CqS
Follow us on twitter: bit.ly/13Z3LKP

This video is about C programming language basics in Urdu. In this Urdu Tutorials Series I teach you how to program in C programming language.

The first statement includes a specification of the C I/O library. All variables in C must be explicitly defined before use: the ".h" files are by convention "header files" which contain definitions of variables and functions necessary for the functioning of a program, whether it be in a user-written section of code, or as part of the standard C libraries. The directive "#include" tells the C compiler to insert the contents of the specified file at that point in the code. The angle bracket notation instructs the compiler to look for the file in certain "standard" system directories.
The ";" denotes the end of a statement.
A special function called main() is the starting point of execution for all C and C++ programs. It is not predefined by the compiler; so that, it must be supplied in the program.
The main() function serves as the starting point for program execution. It usually controls program execution by directing the calls to other functions in the program.
A program usually stops executing at the end of main(), denoted by closing curly brace (}), although it can terminate at other points in the program for a variety of reasons such as the forced program termination by using the exit() function.
The printf statement allows you to send output to standard out. For us, standard out is generally the screen

Loading related videos...