Quote:
>C is part of the C++ language. C++ has often been described as a federation of languages which includes C. Anything you can do in C is ok for use with C++.
This is just incorrect. Try c
|
I am wondering, if a function has not been declared or defined- is it yet a function? I guess my question is: If something has no declaration, and no definition- does it exist? What has no declaration and no definition?
Also, I am wondering the validity of this claim- I know I came across something like this before and it sounds familiar but I can not think of an example for which this applies (maybe I'm missing the point).
I tried: make a function pointer- call the function pointer in both C and C++.
The function itself had not been defined or declared. Both C and C++ had the same result. Then I thought "obviously" but I can't think of a situation as described in the above quote- where behavior for one langauge is different than the other.