Synthesis and structural and electrical investigations of a hexagonal Y(1-x)Gd(x)InO3 (0.0 ≤ x ≤ 1.0) system obtained via metastable C-type intermediates.