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
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 |
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 |
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 |
what is the function of .h in #include<stdio.h> in c ?
23 Answers HCL, IBM, Wipro,
is forign key will be unique key any table or not?
formula to convert 2500mmh2o into m3/hr
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
hi , please send me NIC written test papers to sbabavalli@gmail.com
What is a pointer and how it is initialized?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
Explain what is a const pointer?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What is structure padding ?
Explain what is the benefit of using const for declaring constants?
What does printf does?