[Cpp-Programming] Re: Hi! There is an urgent question.
On Nov 5, 8:24 am, Niketa Pal <pal.nik...@gmail.com>
wrote:
> (1) What are the three required statements for every function in C++?
Ans: it is asked "required statements" :
which literary means:
a) Function declaration
b) Function definition
c) Function call.
and as far as syntax is concerned:
b) give a return type {it is good programming practice to use "void" even if function not returning anything}
c)Take care about the ordering of formal arguments and actual arguments along with their respective data types.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "C++ Programming" group.
To post to this group, send email to cpp-programming@googlegroups.com
To unsubscribe from this group, send email to cpp-programming+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cpp-programming?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
<< Home