What is the difference between declaration and definition?
Answer Posted / alok
defination=(declration+space reservation)
int a; -------------Declaration
a=20; ------------- Defination
For Function
int alok(int a,int b); ---------------Declaration
int a=alok(5,10) ---------------Function call
int alok(int a,int b) Function Defination Logic is here
{
int c=a+b;
return(c);
}
// Alok contact number 9993032168,9650549204
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is oops and its features?
What is the problem with multiple inheritance?
What is polymorphism used for?
#include
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Can we create object of abstract class? What are different oops concepts? What are oops functions? What is interface? When and where is it used? Will I be able to get a picture in D drive to the c++
program? If so, help me out? Can enum be null? What is the significance of classes in oop? What is inheritance write a program to show use of inheritance? what are the realtime excercises in C++?