wat is the difference between a definition and declaration?
float y;---it looks like a declaration..but it s a
definition.how?someone explain
Answer Posted / kantilal
the diff b/w defination and declaration is
defination is allocating memory to the variable
ddeclaration is telling what type of variable it is and not
allocating memory for it
float y is defination as compiler allcates memory for it
if you give as extern float y it is declaration
| Is This Answer Correct ? | 30 Yes | 0 No |
Post New Answer View All Answers
p*=(++q)++*--p when p=q=1 while(q<=6)
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
What is a char in c?
What are the types of i/o functions?
If null and 0 are equivalent as null pointer constants, which should I use?
What does a pointer variable always consist of?
What are qualifiers and modifiers c?
what is stack , heap ,code segment,and data segment
what is uses of .net
If the size of int data type is two bytes, what is the range of signed int data type?
Explain how can I prevent another program from modifying part of a file that I am modifying?
What are the similarities between c and c++?
pierrot's divisor program using c or c++ code
what is different between auto and local static? why should we use local static?
What is difference between static and global variable in c?