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
Describe the steps to insert data into a singly linked list.
What is difference between arrays and pointers?
What is #include stdio h and #include conio h?
What is bash c?
How do you use a pointer to a function?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
How do we declare variables in c?
Why is sprintf unsafe?
diff between exptected result and requirement?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Explain zero based addressing.
When is a null pointer used?
How many types of operators are there in c?
Add Two Numbers Without Using the Addition Operator
cavium networks written test pattern ..