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 |
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is Heap?
How do I swap bytes?
Is there any restriction in how many arguments printf or scanf function can take? in which file in my c++ compiler i can see the code for implementation of these two functions??
Explain how can type-insensitive macros be created?
CAN ANYONE PLEASE HELP ON THIS PROGRAM FOR MY EXAM..TQ Write a C program to help a H’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the H’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the H’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80 Your program must do the following task below: a. Define the data structs, menu item types with two components: menu item of type string and menu price of type double. Use an array to declare the data structs. b. Function get data to loads the data into the array menu list. c. Function show menu to show the different breakfast items offered by the restaurant and tell the user how to select the items. d. Function print receipt to calculates and prints the customer receipt. The billing amount should include a 5% tax. e. Format your output with two decimal places. The name of each item in the output must be left-justify. You may assume that the user selects only one item of a particular type. f. The two sample output as shown: Welcome to HiFi’s Restaurant 1 Bacon and Egg $3.45 1 Muffin $2.20 1 Coffee $1.50 Tax 5% $0.35 Amount Due $7.50
write a c program in such a way that if we enter the today date the output should be next day's date.
totally how much header files r in c language
What are the various topologies? Which one is the most secure?
Are there namespaces in c?
What are bitwise shift operators in c programming?
I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.