0
Can anyone help me to multiply two matrices using pointer? Why number 10 is multiplied scanf("%d",ptr2+i*10+j);??
3 Antworten
+ 6
Binayak Dhimal One more thing if you shared code made in Sololearn Playground better to write here with question it will help us to understand your problem. You can't write full code here because of limited character.
+ 5
to multiply two matrices you need to access the values, what you wrote will only point to an address which is not there, do you know how to access a pointers value by dereferencing it?