If I reset my iphone and then restore it will my photos and contacts still be there?

I have an iPhone 3GS. Someone reset the password on it, so i followed the instructions to delete all data and i'm currently restoring all the data from a previous sync with itunes. When it is done restoring the data, will my pictures and contacts still be entered in it?

If all your data is erased and your are restoring data from your previous sync, it depends whether the contacts and the pictures were included in the tunes back up. By default, iTunes backs up all your data so whatever was backed up previously, you'll definitely get it back. Cheers!

If i restet an iphone 5 would my photos still be there. I havent backed it up and i wont.