The program will not compile due to scope issues. Variables power1oru, v, du1pt1, and power2ordv do not exist within the scope of result(), only within the functions where they were declared.
The way you've nested your functions here is awkward. They should rather all be called from main(), and use return values. I'm not sure that these blocks of code warrant being their own functions anyway.
Also, I'm assuming your intention calling main() at the end of result() is to create a loop. There are control structures for that. A do while loop would probably be most appropriate here.
Finally, I'm not sure what you mean to accomplish with this piece of code. Integration by parts when both functions are polynomials doesn't make sense.
That would be poor math and poor organisation on my part, i think it would be possible to add things like cos, tan, 1/x ect if i used a series of if statements. I can't believe i could not see that using 2 polynomials is pointless before.