1. Write a function that takes an an MxN matrix such that if an element in this input
    matrix is 0, its entire row and column is set to 0.
    void changeMatrix(int *Mat[],int M, int N)

Recommended Answers

All 2 Replies

So what is the problem you are having? No one is going to do this for you.

If you know what a for loop is, this must be a very pleasant task to do.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.