am new to stock investing. Anybody know the answer to this.

If I am going to do a limit buy order.

And say The current price is $40/share. If I entered a limit buy order at a crazy number...like $95/share. would it

a) put my order through at $95/share even if it only when to $41/share or
b) put my order through at current market price as long as it is lower than $95/ share