Tracxn interview question

Write a nested for loop in C