asterisk is in front of

Status
Not open for further replies.

Pink_Flower

Junior Member
Joined
Apr 15, 2020
Member Type
Student or Learner
Native Language
Persian
Home Country
Iran
Current Location
United States
int* x;
int *x;

Those are some computer programming language instructions. I want to know what is the location of asterisk sign in both instructions? i mean for example in the first one, the asterisk sign is beside 'int' or in front of 'int'? how about the second one?


Thank you.
 
int* x;
int *x;

Those are some computer programming language instructions. [STRIKE]I want to know[/STRIKE] What is the location of the asterisk [STRIKE]sign[/STRIKE] in each instruction? i mean for example in the first one, is the asterisk [STRIKE]isign is[/STRIKE] beside 'int' or in front of 'int'?

Neither. It's after int.


How about the second one?

It's before x.


Thank you.
You're welcome!
 
Thanks again. Can't we use front in none of them?
 
In the second one, the asterisk is in front of the x.
 
Stick with before and after.
 
Stick with before and after.
Yes, Pink, I agree with Tarheel. Those are more natural. That's why I didn't originally suggest in front of or behind.
 
Status
Not open for further replies.

Ask a Teacher

If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know:

(Requires Registration)
Back
Top