Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
See more:
Hi,

Write a program in multidimensional matrix using double pointers.
Explain double pointer(**ptr)
Posted
Updated 15-Jun-15 8:57am
v2
Comments
Sergey Alexandrovich Kryukov 15-Jun-15 14:56pm    
Matrix multiplication is a very simple problem.
There is no need to explain "double pointer", it's enough to explain pointers. What is the difference what a pointer points to, to some primitive type or another pointer? Learn to consider one fact at a time.
So, what's the problem?

Anyway, this is not a question, this looks like the order to do some work for you and write some explanation.

—SA
[no name] 15-Jun-15 21:05pm    
How about you explain this: unsigned **(*(*ptr)[8](char const *, ...)

Just Googling you may find tons of example, tutorials, articles, etc... on this very argument (see, for instance "Pointers, Arrays, Multidimensional Arrays"[^].
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 15-Jun-15 17:35pm    
Sure, a 5.
—SA
CPallini 16-Jun-15 3:41am    
Thank you.
No one will write the entire code for you and you shouldn't want us to either. You wouldn't learn a thing.

Once you get started, when you get stuck on something please come back and post a specific question and show us the code you have so far and where you are stuck. We will then gladly help you.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 15-Jun-15 17:36pm    
Good point, a 5.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900