I bought a used IPhone 5c and I tried to restore it but I don't know the ICloud information?

I just bought a used 5c and I was going to restore it. I didn't know you had to have the old ICloud account to restore it. I don't know the information and neither does the previous owner. What can I do?

Don't see how the previous owner wouldn't know the information required unless he/she was selling a lost/stolen device which sounds to be the case here unfortunately.

You don't have to have the old account to restore it. Assuming the previous owner was indeed that, he/she could restore it properly so that when it is sold the new owner would just need to set it up as if it were new, no iCloud information required.

Of course Apple wouldn't have it set up so that people would have to be asking for the Apple IDs of other people in order to use iPhones.