Spray pyrolysis deposited K@CdS nanostructured films and their characterizations for optoelectronic and 3rd order nonlinear optical applications