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

Explain what is the benefit of using enum to declare a constant?

0 Answers  


Juxtapose the use of override with new. What is shadowing?

1 Answers  


Why dont c comments nest?

0 Answers  


How can we open a file in Binary mode and Text mode?what is the difference?

1 Answers   PanTerra,


#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300

4 Answers   Tieto,


how can i sort numbers from ascending order and descending order using turbo c..

1 Answers  


What does c mean?

0 Answers  


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

0 Answers  


How does sizeof know array size?

0 Answers  


How do you determine whether to use a stream function or a low-level function?

0 Answers  


How would you print out the data in a binary tree, level by level, starting at the top?

6 Answers   Amazon, Microsoft,


Is an array parameter is always "by reference" ?

1 Answers  


Categories