First of all you need to know about the language in conversation, yes I am talking about C language. C is a programming language used to write computer programs; whereas computer programs are finite sequence of instructions given to a computer to solve a particular task. In this post, I am going to share very basic knowledge about C programming. Without any further comments I would directly tell you the structure of a basic C program: #include<stdio.h> //Preprocessor Directive #include<conio.h> //Preprocessor Directive void main() { int a, b, c; //Variable Declaration printf("\n Enter any two numbers!!!"); scanf("%d%d",&a,&b); c=a+b; printf("\n\nSum = %d",c); getch(); } Explanation: #include is the preprocessor directive, that directs your compiler to include file mentioned in the angular brackets. Here we have included two files stdio.h i.e. Standard Inpu...
Computer Tweaks brings latest computer tweaks, tips and tricks, computer information, technology and social media news, guides and much more.