Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

what is prototype error

0 votes
asked Jul 22, 2019 by Manikandan2104 (120 points)

1 Answer

+1 vote
answered Jul 23, 2019 by anonymous

Your function is called before the compiler has seen its definition, so the compiler is saying "I want to see this function's prototype first". This means you put void printPrimeFactor(int number, int factor);

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...