GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  TCS  >  C

 Print  |  
Question:  Tell one difference which is in C and not in C++.
Can we pass arguments in main()
Difference between static and constant variable.




September 09, 2008 11:15:37 #5
 sandeepnegi037144 Testing Expert  Member Since: March 2008    Total Comments: 1 

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.
     

 

Back To Question