S
s88
Hi all:
Consider the follows code slide...
void execution(int i){ printf("%d\n",i);}
void add(){
execution(1);
execution(3);
}
void sub(){
execution(2);
execution(4);
}
Is it possible print the 1 2 3 4 in C?
If possible, how to make it?
PS: can't use pthread (or other thread lib)!!!
Thanx!!
Consider the follows code slide...
void execution(int i){ printf("%d\n",i);}
void add(){
execution(1);
execution(3);
}
void sub(){
execution(2);
execution(4);
}
Is it possible print the 1 2 3 4 in C?
If possible, how to make it?
PS: can't use pthread (or other thread lib)!!!
Thanx!!