Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

All answers must be computer-printed, except for diagrams. Use your own words; d

ID: 3744135 • Letter: A

Question

All answers must be computer-printed, except for diagrams. Use your own words; do not copy material verbatim from a web site or other source. 1.On page 12, Sebesta mentions that the word statichas two meanings in C, depending on the context in which it is used."InC, for example, the meaning of the reserved word static depends on the context ofits appearance. If used on the definition of a variable inside a function, it means the variable is created at compile time. If used on the definition of a variable that is outside allfunctions, it means the variable is visible only in the file in whijch its definition appears;that is, it is not exported from that file." What other meanings are there for stat icin C# ?

Explanation / Answer

ANS:

THE MEANING OF THE STATIC IN BOTH C AND C++:

THE OTHER MEANING OF STATIC IN BOTH THE C AND C++ IS IT IS USED TO DEFINED THE VARIEBLES GLOBALLY THAAT IS OUTSIDE ALL THE FUNCTIONS.THE VARIEBLE IS APPEARS ONLY IN THE FILE IN WHICH IT DEFINED THAT IS NOT SHOWING FROM THAT FILE.IT IS COMMON FOR BOTH C AND C++.

PLEASE RATE THUMBSUP

THANK YOU

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote