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

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

Jump to Post

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.