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 getch c?
What is string function in c?
I heard that you have to include stdio.h before calling printf. Why?
Are there constructors in c?
What is difference between structure and union in c?
Explain the advantages and disadvantages of macros.
What are the properties of union in c?
What are the types of pointers in c?
How do I use strcmp?
Why is c so powerful?
Explain how do you determine the length of a string value that was stored in a variable?
In which header file is the null macro defined?
What is the difference between malloc() and calloc()?
Why c is a mother language?
What is adt in c programming?