I wanted to multiply 2 matrices ,but using parallel programming concepts.
can you please,help me by giving me a sample code for this ???
Multiply matrices with parallel programming? Huh? I have troubles imagining how that would be beneficial (unless you multiply giant matrices).
If you want something that's easy to learn and portable:
https://computing.llnl.gov/tutorials/openMP/
It's not as flexible as using threads directly, but you also don't have to worry about as many minor details.