matrix multiplication fails introspect the causes for its
failure and write down the possible reasons for its
failurein c language.
Answer Posted / prabhat thapa
The main reason is number of columns in first matrix not being equal with number of rows in second matrix.
(A i*j)* B(j*k)
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can I list all of the predefined identifiers?
Why we use void main in c?
What are the advantages and disadvantages of c language?
explain what are actual arguments?
What is an array? What the different types of arrays in c?
Explain the difference between malloc() and calloc() function?
What is sizeof c?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
How can I find the modification date of a file?
What is scope and lifetime of a variable in c?
Describe newline escape sequence with a sample program?
Explain the difference between null pointer and void pointer.
Do variables need to be initialized?
What are the types of pointers in c?
How many levels of pointers have?