2

どちらがより好ましいですか?ふたつの間に?たとえば、配列の並べ替えのように、独自の並べ替え関数を作成するよりも、事前定義された並べ替え関数を使用する方が実用的でしょうか?


定義済み関数とユーザー定義関数の使用の利点と欠点は何ですか?

4

4 に答える 4

1

事前定義された関数が「非常に良い」理由でニーズを満たさない場合にのみ、ユーザー定義関数を使用してください。車輪を再発明するのは決して良いことではありません

于 2013-06-18T03:05:07.353 に答える
0

A built in function is a predefined function or statement or operator that supplied along with compiler used i c program. while user defined function is a self contained building blocks of statement which are written by the user to compute the value or to program a task, they can be called by the main function as per requirement of the called function.

于 2014-10-06T04:18:41.417 に答える