Q.

ਇਕ ਫੰਕਸ਼ਨ (function) ਜਿਸ ਦੀ ਕੋਈ ਕਾਰਵਾਈ ਨਹੀਂ ਹੁੰਦੀ ?
A function that is no action?

Chapter-2 | User Defined Functions | User Defined Functions

1) ਇਕ ਅਵੈਧ ਫੰਕਸ਼ਨ ਹੁੰਦਾ ਹੈ /There is an invalid function
2) ਵਾਕ ਰਚਨਾ ਗ਼ਲਤੀ (syntax error) ਪੈਦਾ ਕਰਦਾ ਹੋ /If create a syntax error
3) ਆਗਿਆ ਦਿਤੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਇਸਨੂੰ ਡੰਮੀ ਫੰਕਸ਼ਨ ਕਿਹਾ ਜਾਂਦਾ ਹੈ /Is allowed and is called a dummy function
4) ਜ਼ੀਰੋ ਵਾਪਸ ਕਰਦਾ ਹੈ।/Returns zero.

Ans.) ਆਗਿਆ ਦਿਤੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਇਸਨੂੰ ਡੰਮੀ ਫੰਕਸ਼ਨ ਕਿਹਾ ਜਾਂਦਾ ਹੈ /Is allowed and is called a dummy function