結果 : write a c program to implement prim's algorithm for suitable example