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
Go To First  |  Previous Question  |  
 C  |  Question 87 of 87    Print  
Tell one difference which is in C and not in C++.
Can we pass arguments in main()
Difference between static and constant variable.

  
Total Answers and Comments: 5 Last Update: September 06, 2008     Asked by: harinisathiyamurthy 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 28, 2008 04:27:36   #1  
hrs1129 Member Since: May 2008   Contribution: 4    

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

 
Is this answer useful? Yes | No
June 11, 2008 04:34:15   #2  
anandbabumca86 Member Since: June 2008   Contribution: 2    

RE: Tell one difference which is in C and not in C++.Can we pass arguments in main()Difference between static and constant variable.
in c there is no oop concept but in c++ have oop conceop
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
June 24, 2008 02:42:40   #3  
sibarama.panigrahi Member Since: June 2008   Contribution: 2    

RE: Tell one difference which is in C and not in C++.Can we pass arguments in main()Difference between static and constant variable.
In C program divide into number of sub-parts called function.
In C++ program divide into  number of sub-parts called methods.

 
Is this answer useful? Yes | No
June 24, 2008 02:44:49   #4  
sibarama.panigrahi Member Since: June 2008   Contribution: 2    

RE: Tell one difference which is in C and not in C++.Can we pass arguments in main()Difference between static and constant variable.
In C program divide into number of sub-parts called function.
In C++ program divide into  number of sub-parts called methods.

 

es we can pass argumentsin commandline.

 
Is this answer useful? Yes | No
September 06, 2008 11:15:37   #5  
sandeepnegi037144 Member Since: March 2008   Contribution: 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.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape