what is the difference between declaration ,defenetion and
initialization of a variable?
Answer Posted / nirmal kumar tailor
declaration means you declare variable.
ex: int a;
defination means this integer type a variable take 2 byte
memory space.
initialization means we initialize the value of integer a
variable type.
ex: int a=2;
in declaration we declare variable and variable type , in
initialization we define the value and in defination we
define the type of variable.
| Is This Answer Correct ? | 23 Yes | 16 No |
Post New Answer View All Answers
What is difference between union All statement and Union?
What is the sizeof () operator?
Can you please explain the difference between malloc() and calloc() function?
Explain the use of fflush() function?
Write a program to print ASCII code for a given digit.
What is the purpose of main() function?
How can I direct output to the printer?
What happens if you free a pointer twice?
What is the difference between abs() and fabs() functions?
What are the 4 types of organizational structures?
What is the purpose of 'register' keyword in c language?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
Can we declare a function inside a function in c?
How can I delete a file?
What's the right way to use errno?