Possible Duplicate:
Is the question mark misused in affirmative sentences?
Is it correct to use "if" in this way?
I want to know if I can borrow your car?
Possible Duplicate:
Is the question mark misused in affirmative sentences?
Is it correct to use "if" in this way?
I want to know if I can borrow your car?
Whether and if are normally synonymous in contexts similar to the one provided in your sentence. Which you choose is a style preference in this case. I always choose whether for formal writing.
[EDIT:] Tim has a good point. The direct answer to your question, then, is: Yes, it is correct to use "if" in this way. And as SF. points out, neither of your sentences is a question: both are declarative statements that take no question mark.
That's a statement, not a direct question, though it could be used in function of a question:
I want to know if I can borrow your car.
This correctly states the intent and you could expect an answer, though it may sound rather harsh, a voice of annoyance/impatience.
I'd like to know if I could borrow your car.
This is stating it in a more polite manner. Note, how despite these functioning as questions/requests in the language, they are statements from grammar viewpoint so they end with a full stop.