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 |
Write a c program to build a heap method using Pointer to function and pointer to structure ?
How do c compilers work?
Subtract Two Number Without Using Subtraction Operator
What is the difference between int main and void main in c?
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?
What is diffrance between declaration and defination of a variable or function
What is a shell structure examples?
What is main function in c?
What does a run-time "null pointer assignment" error mean?
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
int i=10; printf("%d %d %d", i, i=20, i);