Does C correctly handle sizeof(...) and sizeof ... in this case? – stackoverflow.com

In the following code, are the functions test and test2 equivalent? typedef int rofl; void test(void) { rofl * rofl = malloc(sizeof(rofl)); // Is the final rofl here the TYPE? } void ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Does C correctly handle sizeof(...) and sizeof ... in this case? – stackoverflow.com"