User profile: jyoti1009

User info
User name:jyoti1009
History
Joined:
Number of posts:10
Latest posts:

An algorithm such that if an element in an MxN matrix is 0, its entire row and column is set to 0.
@peter 87 oops....my bad!! @mj709 Kindly explain the logic there coz i cudnt get what difference w...

An algorithm such that if an element in an MxN matrix is 0, its entire row and column is set to 0.
@peter87 [quote]what u can do is do the following....i think u shud use the expression *(*(matrix+i)...

An algorithm such that if an element in an MxN matrix is 0, its entire row and column is set to 0.
@peter87 Thanks a lot!! Will try this 4 sure!!

An algorithm such that if an element in an MxN matrix is 0, its entire row and column is set to 0.
@peter87 I have changed the above code to the following and it worked!! thanks 4 the suggestion [c...

An algorithm such that if an element in an MxN matrix is 0, its entire row and column is set to 0.
@peter87 [quote]EDIT: isn't ri and ci what you want for the values of rl and cl? You have the same p...