You asked
Nikon d5300 vs pentax k 50?
The Nikon D5300 and Pentax K-50 are both 2013 APS-C DSLRs, so the choice comes down to a few differences. The Nikon D5300 has the higher resolution at 24.2 megapixels, but no stabilisation in the body, so you'll want stabilised lenses for slow shutter speeds. The Pentax K-50 has 16.3 megapixels, but it adds in-body stabilisation, weather sealing, and the option to run on AA batteries.
If sharper files matter most, pair the D5300 with the Nikon AF-S DX 35mm f/1.8G for everyday portraits. If you shoot outdoors in bad weather, the K-50 with the weather-sealed Pentax smc DA 18-55mm f/3.5-5.6 AL WR makes a sensible everyday kit. For a cheap, fast prime on the K-50, try the Pentax smc DA 50mm f/1.8.
Written by Claude from this site's pages.