what is the difference between declaration ,defenetion and
initialization of a variable?
Answer Posted / sakthi sudhan
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 ? | 1 Yes | 8 No |
Post New Answer View All Answers
Explain how can I manipulate strings of multibyte characters?
Combinations of fibanocci prime series
Dont ansi function prototypes render lint obsolete?
What is the benefit of using #define to declare a constant?
What are keywords in c with examples?
Write a c program to demonstrate character and string constants?
What does 1f stand for?
What does malloc () calloc () realloc () free () do?
What are c preprocessors?
What are the modifiers available in c programming language?
Explain about C function prototype?
What is a spanning Tree?
What is the difference between the local variable and global variable in c?
What is the difference between constant pointer and constant variable?
what is ur strangth & weekness