How to print first N natural numbers using…

Q) Write C program to print first N natural numbers ?   #include<stdio.h> int main(void) { int n,i; printf("Enter no of natural numbers you want to print\n"); scanf("%d",&n); printf("First N natural numbers are : ");…

Addition of two numbers in C

Q ) Write a program to add given two numbers using  C language ?     Type 1  : ( without using scanf() statement )  #include<stdio.h> int main(void) {  int a=10,b=10;         …

C program to print Hello World

Q) Write a C program to print Hello World in the output ?   #include<stdio.h>   int main(Void) {   printf("Hello World ");   return 0; } My Link OUTPUT :        …