What is general format for a prototype?
Submitted by: MuhammadThe general format for a prototype is simple:
return-type function_name ( arg_type arg1, ..., arg_type argN );
arg_type just means the type for each argument -- for instance, an int, a float, or a char. It's exactly the same thing as what you would put if you were declaring a variable.
Submitted by: Muhammad
return-type function_name ( arg_type arg1, ..., arg_type argN );
arg_type just means the type for each argument -- for instance, an int, a float, or a char. It's exactly the same thing as what you would put if you were declaring a variable.
Submitted by: Muhammad
Read Online C++ Syntax Job Interview Questions And Answers
Top C++ Syntax Questions
☺ | Explain what are the Sizes and ranges of the Basic C++ data types? |
☺ | What is switch case in C++ Syntax? |
☺ | What OO language is best? |
☺ | What is functions Syntax in C++? |
☺ | What’s the “Software Peter Principle”? |
Top C Plus Plus Language Categories
☺ | C++ Pointers & Functions Interview Questions. |
☺ | C++ Operator Overloading Interview Questions. |
☺ | C++ Exception Handling Interview Questions. |
☺ | C++ Virtual Functions Interview Questions. |
☺ | C++ Template Interview Questions. |