Pregunta de entrevista de DXC Technology

basic questions from c,java