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
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.
State two differences between C and C++.
Can a built-in function be recursive?
What is an undefined reference/unresolved external symbol error and how do I fix it?
What is the use of main function in c++?
What is a vector c++?
When should I use unitbuf flag?
How would you find out if a linked-list is a cycle or not?
Explain the difference between overloading and overriding?
Explain linear search.
What is the latest c++ version?
Is dev c++ a good compiler?
How do we balance an AVL Tree in C++?
What is array give example?
What is a c++ map?