#include<iostream.h>
#include<conio.h>
void Like();
main()
{
int i=0;
for(i=0;i<10;i++)
Like();
getch();
}
void Like()
{
static int x=100;
cout<<"\n X Variable Value is :"<<x;
x++;
}
#include<conio.h>
void Like();
main()
{
int i=0;
for(i=0;i<10;i++)
Like();
getch();
}
void Like()
{
static int x=100;
cout<<"\n X Variable Value is :"<<x;
x++;
}
No comments:
Post a Comment