RE: Tell one difference which is in C and not in C++.Can we pass arguments in main()Difference between static and constant variable.
yes we can pass arguments if we pass argument ir would become commandline argument. eventhough static and constant variable are common for alla objects the value of static variable can be increased in time being but it cannot be increased in constant variable
RE: Tell one difference which is in C and not in C++.Can we pass arguments in main()Difference between static and constant variable.
one thing in c but not present in c++
in C we need not to mention the header files for using the built-in functions.
but in C++ we must mention the header file for same purpose.
this is the very basic difference between these two languages
and when MAIN() have arguments this means that...
when we start program from command promt we can pass starting arguments to the program. these r nothing but the values which the programmer things that must be there when program starts execution.