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 are the types of arrays in c?
If the size of int data type is two bytes, what is the range of signed int data type?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
hi, which software companys will take,if d candidate's % is jst 55%?
Explain pointer. What are function pointers in C?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
What is the difference between typedef struct and struct?
What is sizeof in c?
How many main () function we can have in a project?
Explain the difference between structs and unions in c?
All technical questions
What is the difference between struct and union in C?
Is it possible to have a function as a parameter in another function?
Explain what are binary trees?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?