what is the difference between declaration ,defenetion and
initialization of a variable?
Answer Posted / gg
As i know.....
Definition is one which allocates memory.
Ex: int x;
Declaration never occupy any memory space.
Ex:Function prototype declarations such as....
int func(int,int);
Initialization: If any variable assigned with some value at
time definition itself is called initialization.
Ex:int x=0;
| Is This Answer Correct ? | 35 Yes | 7 No |
Post New Answer View All Answers
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
Explain 'bus error'?
What does c mean in standard form?
How is = symbol different from == symbol in c programming?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What is the scope of an external variable in c?
Give me the code of in-order recursive and non-recursive.
Is stack a keyword in c?
What are the rules for identifiers in c?
what is the diffrenet bettwen HTTP and internet protocol
What do mean by network ?
What is difference between %d and %i in c?
How do I swap bytes?
What are the types of pointers?
why we wont use '&' sing in aceesing the string using scanf