Now, for a Knight to be able to move 8 possible moves the Knight should have at least 2 squares in each direction to be able to complete that.This means that the knight cannot be in any of the squares where we don't have at least 2 squares to move in each direction possible.
So, the Knight cannot be in rows 1,2,7,8 and columns a, b, g, h
Refer Below Image
Attachment:
squares.jpg [ 35.21 KiB | Viewed 3338 times ]
This means that the Knight can be there only in the center blue squares, which are 4*4 = 16
So, the greatest number of spaces from which not all 8 moves are possible = 64 - 16 = 48
So,
Answer will be DHope it helps!
If you want to play a "friendly" game of chess then invite me for game on chess.com,
my profile link here!