1. He is standing at the back of the shop.

2. He is standing behind the shop.

3. He is standing in back of the shop.

4. He is standing in the back of the shop.

5. He is standing at back of the shop.

(Are they all grammatical? Which one is ungrammatical? Do they have the same meaning?)

1 - 4 are fine. 5 is not correct.

1 and 4 mean the same thing: He is inside the shop, but standing in the back.

2 and 3 mean the same thing: He is standing outside the back of the shop.

Out of the five options given, all of them except for the fifth one are grammatical.

1. "He is standing at the back of the shop." - This is grammatically correct. It indicates that the person is located specifically at the back of the shop.

2. "He is standing behind the shop." - This is also grammatically correct. It suggests that the person is positioned in a location that is directly behind the shop.

3. "He is standing in back of the shop." - This sentence is grammatical as well. It conveys the same meaning as the first two options, indicating the person's position behind the shop.

4. "He is standing in the back of the shop." - This sentence is grammatically correct and has a similar meaning to the previous options. It implies that the person is positioned within the area located at the back of the shop.

5. "He is standing at back of the shop." - This sentence is ungrammatical. "At back" should be written as "at the back" to make it grammatically correct.

In terms of meaning, options 1, 2, 3, and 4 essentially convey the same idea — the person is positioned behind the shop. Each sentence may slightly differ in emphasis or nuance, but the overall meaning remains consistent.