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 a good way to implement complex numbers in c?
How can you find the exact size of a data type in c?
What is #include conio h?
What is #include stdlib h?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is the size of array float a(10)?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What does sizeof return c?
What is integer constants?
I have seen function declarations that look like this
What is the difference between union and anonymous union?
Why is not a pointer null after calling free?
What is the use of pointers in C?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.