what are prototypes

Answer Posted / divya

prototype statement helps the compiler to check the return
and argument types of the function means it tells the
compiler 1.the name of the function
2.the type of value returned
3.the type and number of arguments

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.

1746


State two differences between C and C++.

610


Can a built-in function be recursive?

588


What is an undefined reference/unresolved external symbol error and how do I fix it?

606


What is the use of main function in c++?

531






What is a vector c++?

555


When should I use unitbuf flag?

592


How would you find out if a linked-list is a cycle or not?

555


Explain the difference between overloading and overriding?

616


Explain linear search.

634


What is the latest c++ version?

611


Is dev c++ a good compiler?

529


How do we balance an AVL Tree in C++?

643


What is array give example?

600


What is a c++ map?

664