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
Tell us something about keyword 'auto'.
write a program to display all prime numbers
how do you programme Carrier Sense Multiple Access
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What does. int *x[](); means ?
What is chain pointer in c?
What is the use of static variable in c?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is a static function in c?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
Which header file should you include if you are to develop a function which can accept variable number of arguments?
Is javascript written in c?
What are valid operations on pointers?
How can I write functions that take a variable number of arguments?
Write a program to generate the Fibinocci Series