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
Is a house a mass structure?
Is return a keyword in c?
What is sizeof array in c?
What do you understand by friend-functions? How are they used?
What are the different types of endless loops?
What is c standard library?
Define VARIABLE?
What is sizeof c?
How do you sort filenames in a directory?
Are there namespaces in c?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
How many levels deep can include files be nested?
What is string function in c?
What is a program flowchart and how does it help in writing a program?
Are c and c++ the same?