c, java and many other languages do not pay attention to return values.
int i = func() float f = func() int func() { return 5 } float func() { return 1.3
For a C++ example, consider:
void g(int x); void g(float x); g(func());
Which of the overloaded g() functions would be called?
g()