Programming in C learn sample Program
- Get link
- X
- Other Apps
Sample program of C language with structure explanation
C language is a general-purpose programming language in old-time c is know as B language that means Basic combine Programming language (BCPL).C language is found by Denis Ritchie in 1972 something and C is used Compilers for debug and run c program it is very fast executed and compile.
C language generally says it is OOP means object-oriented programming language but c support some OOP concept but it is a not pure Object-oriented programming
language.
Basically, there are three types of Programming Languages..(1) Procedural Programming Language
(2) Structured Programming Language
(3)Object-oriented Programming Language
C language is used input into output using algorithms is a set of some programming instruction step which used to perform user command or user request.
You can also use the to flowchart for learning c of any other object-oriented programming language because flowchart is a symbolic set of instructions perform in c language.
Basic structure and code of the sample program of c:
here #include is a keyword to use header files and <stdio.h> is a Standard header file and <conio.h> is a console header files which contain some identifier,c token and functions.
void main () is the main function of the program here execution part of the c language program and with void main () double bracket contains no of argument after this
curly bracket is open part here execution starts with curly bracket open and close between this clrscr is clear screen function which is clear output screen and print
statement print the given statement and you can add here to understand program details of program description using in Comment section "/*" and "*/"
this symbol start and close the comment section. during compiling compiler ignore by compiler. It is a means comment section is Non -Executable statement.
Print statement use with keyword print and open bracket "(" and close bracket ")" and contain the message with double quotes and at the ending semicolon ;
and end the print statement.
- Get link
- X
- Other Apps
Popular posts from this blog
What is Python ? Intoduction of Python
Introduction of Python Python is the most used high-level programming language it's created by GUIDO VAN and first introduced in 1991. Python is contain object-oriented programming feature like java,c++ etc.Also in current time python is used for Data Science, hacking security applications and many other major areas in IT. Python used to execute the command in your terminal, using an interpreter so python use interpreter for run program. Python is open source and python is available for any Operating System like Linux, Unix, Window, MAC, Linux many more. Python is developed in the C++ Object-oriented programming language comparing other language python give you sample code and easy to understand in such are variable creation, define the function, object creation, many other areas.sum sample Arithematic operation in other languages with large and complex logic codes then Python gives this operation with small and sample logic with faster output. How v...
Comments
Post a Comment
Thank you for comment and your feedback.