Wipro interview question

Self intro C code Python code logic