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
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What does emoji p mean?
What is methods in c?
What is calloc malloc realloc in c?
Where is c used?
Explain why c is faster than c++?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
Can a function argument have default value?
Explain how does free() know explain how much memory to release?
What is the difference between null pointer and wild pointer?
What is the sizeof () a pointer?
Are the outer parentheses in return statements really optional?
Explain what is wrong in this statement?
What is the easiest sorting method to use?