C Program by using external storage class

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.

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

You May Also Like...

Socialize with Us