Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The word STATIC has two meanings in C: - The meaning of the reserved word static depends on the context of its appearance. If used

The word STATIC has two meanings in C:

- The meaning of the reserved word static depends on the context of its 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 all functions, it means the variable is visible only in the file in which its definition appears; that is, it is not exported from that file.

QUESTION: What OTHER meanings are there for STATIC in BOTH C AND C++?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions