This is the question that I need some explanation to understand it:
Some features of C which keep it from being a strict subset of C++ (that
is, which keep C programs from necessarily being acceptable to C++
compilers) are that main may be called recursively, character constants
are of type int, prototypes are not required, and void * implicitly
converts to other pointer types.
anyone has an example ?
I learned C++ 1st. This fact was strange for me.
you mean decelerations (e.g of variables and arrays) ? They are also not
required in C++.
This was the question already ran in a separate thread started by me and I
got nice answers from the regular posters :)
--
my email ID is at the above address
Some features of C which keep it from being a strict subset of C++ (that
is, which keep C programs from necessarily being acceptable to C++
compilers) are that main may be called recursively, character constants
are of type int, prototypes are not required, and void * implicitly
converts to other pointer types.
main may be called recursively
character constants are of type int
prototypes are not required
you mean decelerations (e.g of variables and arrays) ? They are also not
required in C++.
void * implicitly converts to other pointer types.
got nice answers from the regular posters :)
--
my email ID is at the above address
Comment