"Reference" has a very particular meaning in C++. It's not interchangable with the word "variable". I don't know whether you used the word "reference" as opposed to "variable" intentionally or not or if your question merely concerns the word "static". Here's a link on "reference".
"Static" means a couple of things, depending on how you use it. Thus the line you provided would have a different meaning depending on the context it's used in. Basically you have "static" as used with classes and "static" as used when you're not dealing with classes. You use them often for different purposes depending on whether you're using a class or not.
Do you know what a global variable is ?
Do you know what a local variable is ?
If so then read on.
Static variable is a mix between the two. Static variable has the same
lifetime as global, while its scope could be contained like a local variable.
Re-read William's classic total example, while thinking about the
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer"