Quick Print – Computer Sir Ki Class

Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  


Shop
siteicon
Code Learning Code Learning#CPP#2749

Function returning by reference

A program to demonstrate returning of a reference data type from the function.

Source Code

		 

Run Output

Global var g before change = 10
Global var g after function call = 20