top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

Is there something we can do in C but not in C++? [CLOSED]

+7 votes
69 views
Is there something we can do in C but not in C++? [CLOSED]
posted Nov 18, 2013 by Anuj Yadav

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

+3 votes
#include < stdio.h >
int main(void)
{
    int old, new=3;
    return 0;
}

This will compile in C, but not in C++!

answer Nov 18, 2013 by Vikas Upadhyay
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...