what is the difference between declaration ,defenetion and
initialization of a variable?
Answer Posted / siddiqui mohd. faisal
declaration : int a;
declaration means here a is declared as integer variable
initialization : int a = 5;
initialization is whatever you have declared give that
variable some value
definition : int a;
definition is whatever variable you have declared give it's
datatype as here a is declared as integer variable
| Is This Answer Correct ? | 32 Yes | 21 No |
Post New Answer View All Answers
When can you use a pointer with a function?
What is pointer in c?
Describe the steps to insert data into a singly linked list.
Can we add pointers together?
Which node is more powerful and can handle local information processing or graphics processing?
What is cohesion in c?
Is there anything like an ifdef for typedefs?
What is a memory leak? How to avoid it?
how to build a exercise findig min number of e heap with list imlemented?
What are the restrictions of a modulus operator?
How can I make it pause before closing the program output window?
In which language linux is written?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
How can I read a binary data file properly?