c++ cZar
Saturday, December 5, 2009
Is there something we can do in C but not in C++?
Ans is bit funny.
Declare variable names that are keywords in C++ but not C.
#include
int main(void)
{
int old, new=3;
return 0;
}
This will compile in C, but not in C++!
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment