Very similar. The C64 hardware was better, with a dedicated audio chip, better color and (IIRC) hardware blit support for sprites. Much better keyboard, too.
But it was double the price, putting it out of reach for many more families than the Spectrum. This made a kind of critical mass that lead to a huge community around the spectrum in the UK. And a fantastic burst of creativity as the barrier to entry to writing video games dropped as low as it would ever get.
Similar to the Atari's. And they both offered redefinable character sets and fine scrolling, which allowed you to create giant scrolling maps and backgrounds as screenfuls of characters requiring very little memory.
But it was double the price, putting it out of reach for many more families than the Spectrum. This made a kind of critical mass that lead to a huge community around the spectrum in the UK. And a fantastic burst of creativity as the barrier to entry to writing video games dropped as low as it would ever get.