A function is a self-contained section of code that executes when called, taking parameters as input and potentially returning data as output. This modular approach improves code organization, reusability, and maintenance. Functions enhance programming by encapsulating tasks, allowing for efficient data processing, and promoting clear separation of concerns.
ශ්රිතයක් යනු ආදානය ලෙස පරාමිති ගනිමින් සහ ප්රතිදානය ලෙස දත්ත ආපසු ලබා දීමට හැකි වන විට ඇමතූ විට ක්රියාත්මක වන ස්වයං අන්තර්ගත කේත කොටසකි. මෙම මොඩියුලර් ප්රවේශය කේත සංවිධානය, නැවත භාවිතා කිරීමේ හැකියාව සහ නඩත්තුව වැඩි දියුණු කරයි. කාර්යයන් සංග්රහ කිරීම, කාර්යක්ෂම දත්ත සැකසීමට ඉඩ සලසා දීම සහ ගැටළු පැහැදිලිව වෙන් කිරීම ප්රවර්ධනය කිරීම මගින් ක්රමලේඛනය වැඩි දියුණු කරයි.
අමතර පාඩම් සහ තොරතුරු සඳහා අපගේ වෙබ් අඩවි වලට පිවිසෙන්න.
Visit our website : http://gurulk.com
Our FB Page : https://facebook.com/gurulkdotcom/
Buy DVD Courses : http://gurulk.com/buy/