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 #include stdio h?
How can you read a directory in a C program?
What is the difference between single charater constant and string constant?
why we wont use '&' sing in aceesing the string using scanf
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
What is d scanf?
Explain the term printf() and scanf() used in c language?
What is realloc in c?
Write the control statements in C language
Explain About fork()?
Can a function argument have default value?
What is main return c?
Why does notstrcat(string, "!");Work?
How can type-insensitive macros be created?
What is the value of c?