#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int
g_Count;
void
foo(
char
*data);
int
main(
int
argc,
char
* argv[])
{
g_Count = 0;
foo(argv[1]);
return
0;
}
void
foo(
char
*data)
{
char
salla[10];
printf
(
"Deneme - %d\n"
, g_Count);
g_Count++;
if
(g_Count == 510){
strcpy
(salla, data);
}
try
{
foo(data);
}
catch
(
int
e){
printf
(
"Error code is : %d"
, e);
}
}