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
What is the difference between procedural and functional programming?
What is string function c?
what is the basis for selection of arrays or pointers as data structure in a program
What are the different file extensions involved when programming in C?
What does int main () mean?
What are c identifiers?
How can I find out the size of a file, prior to reading it in?
Is Exception handling possible in c language?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Differentiate abs() function from fabs() function.
What is the difference between far and near ?
What is a #include preprocessor?
What are the features of the c language?
What is C language ?
Describe dynamic data structure in c programming language?