[ Latest ] Viasat Technical Interview Questions and Answers.
Practice List of Paytm Coding Questions !!!
Take 30+ FREE!! Online Arithmetic Aptitude Mock test to crack any Exams.
Technical Discussion :: C++

7 / 187

What is the difference between declaration and definition?

Answer:

In C , function declaration is means telling the compiler that a function occurs but there's no definition given to it. When in the program, the function with definition is given, it's known as function definition.



For eg.: void display();//function declaration



void display){ cout<<"Function Definition";}//Function Definition

Asked In :: iGateVirtusaSyntel Inc.Accenture

Post Your Answer Here:


Rate This: +0 -0     
Report    

Post Your Reply Here:

Alert me
q4i-reply-your-answer

Report Error

Please Login First Click Here

Most Popular Qs.