Which one is correct to say ?
I have read both the sentence consructions and both seems correct to me . Is there any grammar rule ?
a) Where is the location?
b) Where the location is ?
The correct way is:
Where is the location?
Questions are usually formed with inversion in English.
Sometimes non-interrogative sentences are simply spoken with a questioning inflection (or written with a question mark) to imply a question. This case would be written
The location is where?
(but never "Where the location is?" by itself)
Where is the location
This makes sense but is unnatural imo. The inversion ( the location is where?) as pointed out in the other answer also sounds unnatural to me.
If you want to change the sentence up a bit, I would probably say
Where is the place located at?
Where is the place at?
These sound natural to me