locked
Global Parameter RRS feed

  • Question

  • I take this as an oppurtunity to clarify all my doubts !!!

    Can someone tel me whats the use of global parameter ?

    Thursday, March 8, 2007 5:17 AM

Answers

  • Global parameter has got scope for the whole program. U ve to use the scope resolution operator [::]

    to identify the global variable.. Get it?

    Thursday, March 8, 2007 5:37 AM

All replies

  • Global parameter has got scope for the whole program. U ve to use the scope resolution operator [::]

    to identify the global variable.. Get it?

    Thursday, March 8, 2007 5:37 AM
  • ya the above is saying correctly as per my knowledge but, he has been particularly telling you about C++ example, in java & dotnet u dont need scope resolution operators but only global methods and variables  to be declared outside main procedure or module.

     

    Thursday, March 8, 2007 6:49 AM