Search Results
6/15/2025, 9:21:40 PM
>>105600898
>>105600967
Turns out the same thing without recursive types is just
typedef void *(*func)();
void *h()
{
puts("h");
return 0;
}
void *g()
{
puts("g");
return h;
}
void *f()
{
puts("f");
return g;
}
int main()
{
func k = f;
while (k)
k = k();
return 0;
}
that concludes today's retardation
>>105600967
Turns out the same thing without recursive types is just
typedef void *(*func)();
void *h()
{
puts("h");
return 0;
}
void *g()
{
puts("g");
return h;
}
void *f()
{
puts("f");
return g;
}
int main()
{
func k = f;
while (k)
k = k();
return 0;
}
that concludes today's retardation
Page 1