Q) Write a C program to print Hello World in the output ?
- int main(Void)
- printf(“Hello World “);
- return 0;
- #include<stdio.h> is a statement which tells the compiler to insert the contents of stdio at that particular place. In C/C++ we use some functions like printf(), scanf(), cout,cin.
- int main() return an int where as void main() does not return anything .
- printf(” “) is used to show the content in between brackets .