Ok OpenAI's #ChatGPT is kind of blowing my mind (again).
That last one is nasty!
Interestingly it didn't get these right.
1st one would loop forever, NOT never run at all.
And the 2nd one is similar to 2nd one in the prev post (which it did get right!), but here it got it quite wrong. Ofc it does have an effect, loop runs only 7 times. Bit harder to calc :)
NO F'IN WAY! BILLIONS OF BLISTERING BARNACLES I'm dying roflmoa me hearties 🤣🤣🤣🤣🤣🤣
#OpenAI
#ChatGPT
There once was a programmer named Pete
Who forgot to free memory, how sweet
He allocated a chunk
But forgot to deallocate, oh junk
Now his program is running obsolete.
#ChatGPT