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 sizeof array?
What is the difference between fread and fwrite function?
What is a buffer in c?
What is the difference between array_name and &array_name?
What are the types of i/o functions?
What is difference between class and structure?
What is c value paradox explain?
What is the c language function prototype?
What is the purpose of the statement: strcat (S2, S1)?
What functions are in conio h?
Explain #pragma statements.
how is the examination pattern?
What does node * mean?
What are the modifiers available in c programming language?
How would you rename a function in C?