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 output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com
What is table lookup in c?
main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }
4 Answers Vector, Vector India,
the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i",i); return 0; }
write a program to display the numbers having digit 9 in the given range from 1 to 100
What is calloc()?
to get a line of text and count the number of vowels in it
What are the types of i/o functions?
write a programme that inputs a number by user and gives its multiplication table.
What is the difference between %d and %*d in C
Write a c program to print the sizes and ranges of different data types in c?