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 |
Who is the main contributor in designing the c language after dennis ritchie?
#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
What do you mean by command line argument?
Hi, main() { } Is a user defined function or Built in Functionn
What is const volatile variable in c?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
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 ?
C language questions for civil engineering
What is c language used for?
#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?
What is the difference between far and near in c?
how to swap 2 numbers in a single statement?