Define external storage class - computer programming, C/C++ Programming

Assignment Help:

Define External Storage Class - computer programming?

When a variable is declared outside a function the storage is permanently assigned to it and its storage class is 'extern' and a declaration for an external variable can look just the name as a local variable declaration. Such a variable is considered to be as global to all functions declared later than and upon exit from the function or block, the external variable remains in existence. These variables are able to be accessed by any function in the program.

Illustration is

extern int a=1, b=2;

The External variables never disappear because they exist throughout the execution life of the program and they can be used to transmit value across functions. They may be unseen if the identifier is redefined.

All the functions have external storage class. This signifies that the key word extern can be used in function prototypes and in function definitions. 


Related Discussions:- Define external storage class - computer programming

Minimum total number of shelv, Write a program that finds the minimum total...

Write a program that finds the minimum total number of shelv, C/C++ Programming

Calculate and display the marks and grade for each student, In this assignm...

In this assignment you are required to develop a program that allows the creation, viewing and storage of information about ITECH7603 Students. In order to complete the task you ha

Decodethecode, 6999066263304447777077766622337778 -----> message sent by th...

6999066263304447777077766622337778 -----> message sent by the first smuggler. my name is robert---------> message decoded by the second smuggler. Where ‘0’ denotes the "space".

Where php basically used, Why many companies are switching their current bu...

Why many companies are switching their current business language to PHP? Where PHP basically used? PHP is rapidly gaining popularity and numerous companies are switching their

Explain in brief about the one-definition rule, Explain one-definition rule...

Explain one-definition rule (ODR). According to one-definition rule, C++ constructs should be identically defined in each compilation unit they are used in. As per ODR, two

Want wellness software, Project Description: We are looking to have soft...

Project Description: We are looking to have software that we will use to track employee information regarding our wellness program. We would like the system to be able to follow

Explain the function of five elements that are on a, explain the function o...

explain the function of five elements that are found on a motherboard#

Described the difference among "new" and "operator new" ?, Described the di...

Described the difference among "new" and "operator new" ? A:"operator new" works such as malloc.

Is probable to encompass virtual constructor? if yes, Is it probable to enc...

Is it probable to encompass Virtual Constructor? If yes, how? If not, Why?

Define some features of external storage class in c program, Define some fe...

Define some features of external storage class in c program? The features of an external storage class variable are as follows: Storage - memory Default initial value -

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd