Hindi, asked by harshitaeh8gmailcom, 4 months ago


1. Which data types can be passed on as arguments of a function?

Answers

Answered by mauryavijay8088
6

Explanation:

You can use variables, literals, expression (i.e. 3 + 5), or even other function calls as arguments. The arguments must match the type of the parameters or be of a type that C++ can convert to the parameter type. The compiler will probably warn you about these type conversions but be careful when passing numbers


harshitaeh8gmailcom: Thanks
Answered by mamilata810
3

Answer:

Hope this answer helps you!

Explanation:

Arguments are passed by value; that is, when a function is called, the parameter receives a copy of the argument's value, not its address. This rule applies to all scalar values, structures, and unions passed as arguments. Modifying a parameter does not modify the corresponding argument passed by the function call.


harshitaeh8gmailcom: Thanks
Similar questions