A hypothetical:
I buy 100 shares of ABC for $20.00, and I Sell 1 Call contract, 25.00 Strike
[let's say $2.50 premium; I don't think it matters here]
At Expiration the last print is $30.00
I'm assigned away my 100 shares,
but what price do I get - exactly $30, or some other amount ...