there is a matrix N x N .Its elements consist of either
value =1 or value=0.
If there is a any zero in the row, then the output matrix
should have all zeroes in that row.
If there is a single zero in any column then that column
should have all zeroes n the output matrix.
write the function to perform these operations.

i want a solution in c/c++ language


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More General Aptitude Interview Questions

plz send all previous question papers for SBI clerical post.my email id is bashawaheed@gmail.com

0 Answers   State Bank Of India SBI,


Pls I Send SBI Clarical Exam Model Qustion

0 Answers  


You have 5 jars of pills. Each pill weighs 10 gram, except for contaminated pills contained in one jar, where each pill weighs 9 gm. Given a scale, how could you tell which jar had the contaminated pills in just one measurement?

3 Answers   Microsoft,


The owner of a hobby store needed to calculate the percentage of customers who purchase wood glue. Upon completing his survey, he noticed that 60% of the people that entered his store purchased an item. Of those customers, 15 percent purchased wood glue. What percent of the people that entered the store purchased wood glue? a) 8% b) 7% c) 9% d) 12% e) 15%

4 Answers   TCS,


If PQRST is a paralellogram .What is the ratio triangle PQS & PQRST.

0 Answers   CMC,






What are software testing metrics

1 Answers   Persistent,


Four Members A, B, C, D are playing a game .A person losing a game should double the amount of others .B, C, D are losing in order after three games .The amount after 3 games are A&B having 40,D is having 16&C 80.What amount did B have?

0 Answers   Accenture,


WHAT IS THE NUMBER OF ZEROS AT THE END OF THE PRODUCT OF THE NUMBERS FROM 1 TO 100

0 Answers   Accenture, Wipro,


A sum of Rs 312 is divided among 100 boys and girls such that every boy gets an amount of Rs 3.60 and every girl gets 2.40 Rs. Calculate the number of girls in the group.

0 Answers   CGI,


A man can row downstream at a rate of 14 kmpl & upstream at 9 kmpl. Find man's rate in still water ?

0 Answers   Axis Bank,


If P=Total number of components, Q = number of defective components .What is the % of non defective components?

0 Answers   TATA,


In China, Mao-Tse-Tung was responsible for organizing its people and taking China into success path. It evolved into a great economic power by improved industrial and economical statistics. China prospered in those years, but _________________

0 Answers   Accenture,


Categories