What is external and internal variables
What is dynamic memory allocation
what is storage classes in C

Answer Posted / ravi saini

External variable -- Variable that one going to be access
from another source file.Have life cycle for complete project.

Internal variable -- variable that one have the life cycle
for the particular block.

Dynamic memory allocation --Allocation of memory during RUN
time.

Storage Class --

Automatic : by default
Register : Use to access registers of CPU.If register is not
free than work as automatic.
Static : Have life cycle for whole project but access only
with in the initialized function block.Once initialized.
extern : above

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c still relevant?

647


Write a program for Overriding.

692


How is a pointer variable declared?

597


Is there anything like an ifdef for typedefs?

708


What is extern storage class in c?

518






What is the difference between union and anonymous union?

841


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

807


Do string constants represent numerical values?

930


what is the difference between class and unio?

1866


When can you use a pointer with a function?

574


Tell us the use of fflush() function in c language?

645


What are runtime error?

634


What are the types of variables in c?

583


Explain high-order bytes.

678


Can math operations be performed on a void pointer?

593