What is the difference between declaration and definition?
Answer Posted / friend nitk
The declaration tells the compiler that at some later point
we plan to present the definition of this declaration.
E.g.: void stars () //function declaration
The definition contains the actual implementation.
E.g.: void stars () // declarator
{
for(int j=10; j > =0; j--) //function body
cout << *;
cout << endl; }
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
class type to basic type conversion
What is multilevel inheritance in oop?
How do you define a class in oop?
What is object in oop?
What is polymorphism and example?
What is encapsulation with example?
What is overriding in oop?
What are the 3 pillars of oop?
What is class and example?
write knight tour problem which is present in datastructure
What are the three main types of variables?
What are functions in oop?
how to get the oracle certification? send me the answer
What is oops and why we use oops?
What is difference between data abstraction and encapsulation?