What is diffrance between declaration and defination of a variable or function
Answer Posted / deepak mundhada
1 when we declare a variable it gets memory allocated at
stack in ram.
definition means we are assigning value to that variable.
2 address of variable can be changed but address cant be
changed.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Define VARIABLE?
Why dont c comments nest?
What is the use of bitwise operator?
Not all reserved words are written in lowercase. TRUE or FALSE?
Why is %d used in c?
Does c have circular shift operators?
What is integer constants?
How can I insert or delete a line (or record) in the middle of a file?
how to create duplicate link list using C???
Can I initialize unions?
How do I swap bytes?
How can I run c program?
Write a program to reverse a linked list in c.
Which is better between malloc and calloc?
What is the use of sizeof?