Hello ladies and gents,
There's an exercise, well, more a question that goes like this in Accelerated C++:
If the following code is legal, what can we infer about the return type of f?
double d = f() [n];
What I can gather is that the return type will be a double variable, but, I don't know wether this way of writing is actually correct?
Ive tried to use it, but failed in getting anything to work with this kind of function.
Could someone tell me wether this is a legal piece of code.
Thanks.