matrix multiplication fails introspect the causes for its
failure and write down the possible reasons for its
failurein c language.
Answers were Sorted based on User's Feedback
Answer / praveen
One reason could be
when the number of rows is not equal to number of coloumns
| Is This Answer Correct ? | 28 Yes | 7 No |
Answer / vijay dave
Reeason is there to first matrix`s row number is not
equal to second matrix`s columns number
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / sandeep
one reason is there to first matrix`s row number is not
equal to second matrix`s columns number
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / 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 |
what is difference between ANSI structure and C99 Structure?
What is a class c rental property?
What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }
What is s or c?
how can i make a program with this kind of output.. Enter a number: 5 0 01 012 0123 01234 012345 01234 0123 012 01 0
Why is this loop always executing once?
main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }
There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.
What is the scope of static variable in c?
what is unsigened char and what is the difference from char
What is period operator in c?
2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }