Important Notice:

Function Calling

Function Calling

19 views 1 min read

Function Calling (फंक्शन कॉलिंग) :-

Function Calling वह प्रक्रिया है जिसमें किसी पहले से Defined Function को उसके नाम के साथ Parentheses () लगाकर Execute किया जाता है।

English Definition

Function Calling is the process of executing a previously defined function by using its name followed by parentheses ().

Example

def greet():
    print("Hello, Student!")

greet()
 

Output:

Hello, Student!
Explanation

  1. def greet(): — Function को Define करता है।

  2. print("Hello, Student!") — Function के अंदर का Statement है।

  3. greet() — Function को Call करता है।

  4. Function Call होने पर print() Statement Execute होता है।

Related Notes