3 ms·
I would iterate off the end of a C array. I would have a function call itself recursively a million times deep. I would use a pointer that was set to a random
by robotresearcher 5y ago
I would iterate off the end of a C array.
I would have a function call itself recursively a million times deep.
I would use a pointer that was set to a random value.
I would return the address of an automatic (i.e. stack) variable from a function and use it later.
I would allocate resources in a loop and never deallocate them.