what is the difference between declaration ,defenetion and
initialization of a variable?
Answer Posted / prakash
Declaration: int a;(does not allocate memory)
Initialisation: a=5;(value is assigned for 'a')
Definition: int a=5;(allocates memory)
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
How do I use void main?
can any one provide me the notes of data structure for ignou cs-62 paper
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
Explain the red-black trees?
How can I determine whether a machines byte order is big-endian or little-endian?
In which header file is the null macro defined?
What are the advantages and disadvantages of a heap?
Why we use void main in c?
What are keywords c?
What is build process in c?
Is it possible to pass an entire structure to functions?
Is c programming hard?
When should I declare a function?
What is the use of #include in c?