![]() |
Arrays & Structures
Can structures be passed to the functions by value?
Why cannot arrays be passed by values to functions? Please explain. |
Re: Arrays & Structures
Yes, you can pass a struct by value, but it is rarely done.
Presumably arrays cannot be passed by value for two reasons:
and pass it by value that way! |
Re: Arrays & Structures
can u give me an example for both the cases.
thanx a lot. |
| All times are GMT +5.5. The time now is 12:46. |