Learn C on Linux

i am a newbie of linux, and not good at C, now i want to learn C again, i have installed the linux system debian, but i don't know which text editor i should use. when i use the default nano, the sad thing is i can't exit the editor using the command ctrl+x. any tips would be appreciated

You can easily search the forums for recommendations on editors.

Here is a long ruling poll about this topic:

What is your preferred text editor? What editor does everyone use? - Page 15