I can't understand c language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

I can't understand c language

In the code above I got it from a challenge I didn't understand how can variable a change to 10 I wrote it and test it and I got 10 but when I print the addresses it is returned to 3 what did happen herr https://code.sololearn.com/cM1JL668RCct/?ref=app

19th Jan 2019, 2:02 PM
ABADA S
ABADA S - avatar
2 Answers
+ 1
The above code is ambiguous, if you try it in different compilers , it will yield different outputs.
19th Jan 2019, 2:26 PM
Sailesh Dahal
Sailesh Dahal - avatar
+ 5
I accept you soo it musn't be in a challenge Why do just c have this problem
20th Jan 2019, 11:59 AM
ABADA S
ABADA S - avatar