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

What is console in c language?

870


is it possible to create your own header files?

875


What are the parts of c program?

883


Is that possible to add pointers to each other?

1160


Is there sort function in c?

823


What is an operator?

873


What does volatile do?

781


What is the purpose of void pointer?

828


What is pragma in c?

878


What is malloc() function?

872


Explain what are compound statements?

842


What is the difference between array and pointer in c?

837


What is the difference between char array and char pointer?

801


Explain how are 16- and 32-bit numbers stored?

1050


What is the difference between new and malloc functions?

862