What is external and internal variables
What is dynamic memory allocation
what is storage classes in C
Answer Posted / 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 |
Post New Answer View All Answers
What are different types of variables in c?
Why c is procedure oriented?
What is strcpy() function?
How do you initialize pointer variables?
Write a code on reverse string and its complexity.
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
Differentiate between a for loop and a while loop? What are it uses?
Give basis knowledge of web designing ...
what is the basis for selection of arrays or pointers as data structure in a program
What is action and transformation in spark?
What is an operator?
Explain setjmp()?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Is there anything like an ifdef for typedefs?