Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / rekha

Dynamic allocation is a pretty unique feature to C (amongst
high level languages). It enables us to create data types
and structures of any size and length to suit our programs
need within the program.

storage classes

auto
register
static
extern
typedef

Is This Answer Correct ?    5 Yes 2 No

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

Answer / s.gayathri

1.external variables can use it anywhere in the pgm &outside
the pgm.
internal variables can use only in the pgm.
2.allocation of memory during run time.it also save memory
space.
3.storage classes are type of variable.it has four type
global
extern
static
register

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

Write a c program to build a heap method using Pointer to function and pointer to structure ?

0 Answers   Wipro,


How do c compilers work?

0 Answers  


Subtract Two Number Without Using Subtraction Operator

0 Answers  


What is the difference between int main and void main in c?

0 Answers  


program to get the remainder and quotant of given two numbers with out using % and / operators?

10 Answers   College School Exams Tests, IBM,


What is the scope of local variable in c?

0 Answers  


What is diffrance between declaration and defination of a variable or function

4 Answers  


What is a shell structure examples?

0 Answers  


What is main function in c?

0 Answers  


What does a run-time "null pointer assignment" error mean?

2 Answers  


void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case

9 Answers   Accenture, TCS,


int i=10; printf("%d %d %d", i, i=20, i);

0 Answers  


Categories