You are here:

C/C programming

Advertisement


Akshay wrote at 2014-03-12 19:23:15
What ever Tony sir mentioned is better way to examine the changes in values going on.

But what is want to say is...

In case of array x[] and z, what we actually passed to change_values() is their addresses.

But in case of y, you sent its value so any changes in change_values() does not effect the value of y in main().


C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Tony Nazzal

Expertise

I will answer any c language programming and syntax questions.

Experience

I have almost a decade of c programming experience.

Education/Credentials
I have a bachelor of science degree and several years of industry experience.

©2016 About.com. All rights reserved.