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

Who is the main contributor in designing the c language after dennis ritchie?

0 Answers  


#include <stdio.h> int main ( int argc, char* argv [ ] ) { int value1 = 10; int value2 = 5; printf ( "\n The sum is :%d", value1 | value2 ); } This is the answer asked by some one to add two numbers with out using arithmetic operator?Yes this answer is write it given out put as 15.But how????? what is need of following line? int main ( int argc, char* argv [ ] ) how it work?what is the meaning for this line? please explain me.Advance thanks

9 Answers   Excel,


What do you mean by command line argument?

0 Answers   TCS,


Hi, main() { } Is a user defined function or Built in Functionn

26 Answers   Honeywell, Yahoo,


What is const volatile variable in c?

0 Answers  


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

0 Answers  


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 ?

0 Answers  


C language questions for civil engineering

0 Answers   Tech Mahindra,


What is c language used for?

0 Answers  


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?

1 Answers   Wipro,


What is the difference between far and near in c?

0 Answers  


how to swap 2 numbers in a single statement?

3 Answers  


Categories