Hacker News new | ask | show | jobs
by 1718627440 252 days ago
Is there a difference between:

    T * ptr = alloca (size);
and

    char buffer[size];
    T * ptr = &buffer;
under the assumption that this happens at the top-level of a function?
1 comments

Not that I know of