What gives better quality of a picture: Iphone 4s camera or normal digital camera?

Please need an advice soon thank you guys

Added (1). I've gol Olympus u1060 it has 10 megapixels and i'm not a fan actually of this camera

Any dedicated camera will blow a phone out of the water - unless it's a Kodak, Benq, Vivitar or GE.

A decent compact camera usualy gives better IQ (image quality).

The sensor is (slightly) bigger, the lens is made out of glass (and/or is covered when in your pocket), there's optical zoom (ie a zooming lens, instead of digitaly zooming in on the picture). The amount of megapixels is the actual amount of megapixels on the sensor (more is not always better… Everything above 10 MP is nonsense for 99% of the users). There's a real flash (and not a LED)

But usually an Iphone will take better pictures then a 50 dollar compact. A good compact will take better pictures with an iphone… Other way around. A good photographer takes better pictures with an iPhone then the usual joe does with his compact.

In the end, the available light will be the factor that determines real quality in the pictures… With good to decent light… A (i)Phone can take great pictures.