โ† TCS questions
CodingEasy

Print matrix column-wise

Filed under TCS

Given a 2D matrix of dimensions M x N, write a program to traverse and print its elements column by column.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related TCS questions

Collected from public candidate posts and coding forums. Updated Nov 2026.