C Program by using external storage class

0
7
digitalample eye
Write a c program to demonstrate the external storage class in c.
C program to show external storage class.
Write a c program by using external storage class in c programming.

C Codes

#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;
}
}

LEAVE A REPLY

Please enter your comment!
Please enter your name here