what is the difference between declaration ,defenetion and
initialization of a variable?
Answer Posted / prakash
Declaration: int a;(does not allocate memory)
Initialisation: a=5;(value is assigned for 'a')
Definition: int a=5;(allocates memory)
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
What is data type long in c?
Is c pass by value or reference?
What is the size of empty structure in c?
How can this be legal c?
How can a process change an environment variable in its caller?
Is it acceptable to declare/define a variable in a c header?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What is the use of ?: Operator?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
What is bss in c?
What is pivot in c?
How can I call a function with an argument list built up at run time?
What is hash table in c?
What is scanf_s in c?
What does c mean in basketball?