Not quite. Key-value properties use the colon syntax. Regular assignment is for local variables. Your "c" is a local variable within the class body of "b", and should absolutely not be visible from the constructor of "a".
Here's the corrected version:
class a
constructor: ->
console.log @c
class b extends a
c: 3
new b() # logs 3