What is diffrance between declaration and defination of a variable or function
Answer Posted / r.ramakrishna
Declaration means allocating memory for the variable.
Definition means defining address of the variable in a class.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is sizeof in c?
Describe the steps to insert data into a singly linked list.
Is c high or low level?
Differentiate between the = symbol and == symbol?
What will the preprocessor do for a program?
Why do we use int main instead of void main in c?
What are the preprocessor categories?
What is the difference between int main and void main in c?
Explain what are multidimensional arrays?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
Can a variable be both static and volatile in c?
What is a dynamic array in c?
I have seen function declarations that look like this
How can I copy just a portion of a string?
Difference between macros and inline functions? Can a function be forced as inline?