Skip to main content

Posts

Showing posts from July, 2022

Basic C programming

  "c language is a very old and powerful programming language." in this article you will learn about basic c programming stuffs and after reading this you will be able to write and run basic c programs. so lets start with the basic c program: #include<stdio.h> #include<conio.h> int main() { printf("WELCOME TO THIS BLOG"); return 0; } so lets start to learn the c language so look at the code given above in this code the first two line #include<stdio.h> #include<conio.h> are known as header files or c header files  this file contains all the functions so when we are typing a  c program we must need to include it. int main() indicates the main function means every code will start executing by this line. printf() is the function in c language to print the name of line or a word. return 0 indicated that the function is returning 0. so its mean that the the program run successfully we can give arguments in parentheses () int main(int a,int b) like ...