Can someone give me a simple example of a function which returns more than one value?
I tried searching in google, but I failed finding something relevant.
Thanks in advance.
Can someone give me a simple example of a function which returns more than one value?
I tried searching in google, but I failed finding something relevant.
Thanks in advance.
http://www.cppreference.com/stdstring/strtod.html returns more than one value.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.