C Programming

C Program by Using External Storage Class

In this article, we are showing you how to write a C Program by using External Storage Class.

Before that, you make sure that you learn about C Programming.

#include<stdio.h>
#include<conio.h>
int x;
long int f=1;
void main()
{
void fact(void)
printf("n Input number:");
scanf("%d",&n);
factect();
printf("n Factorial=%ld",f);
getch();
}
void factect(void)
{
int i,x;
for(i=1; i<=x; i++)
{
f*=1;
}
}

Back to top button