[ad_1]
*x = 1;
means that x contains a memory address, assign 1 to that memory address.
x = 1;
means assign 1 to the variable x.
[ad_2]
solved What is the difference between “*x = 1” and “x = 1” in C?
[ad_1]
*x = 1;
means that x contains a memory address, assign 1 to that memory address.
x = 1;
means assign 1 to the variable x.
[ad_2]
solved What is the difference between “*x = 1” and “x = 1” in C?