14

Can we type NUL character (HEX 0) from the keyboard?

Most of the printable character starts from HEX value 20.

Eric J.
  • 143,945
  • 62
  • 324
  • 540
P K
  • 9,402
  • 12
  • 50
  • 95
  • 2
    @BrianRoach, i hope you understand the point of my question even if NULL is not a character. – P K Feb 03 '12 at 07:02
  • 6
    NULL is a (control) character, in Ascii, Unicode (U+0000), and other standards. – Jukka K. Korpela Feb 03 '12 at 07:15
  • 3
    The character in ASCII corresponding to 0 is *usually* referred to as `NUL`, not `NULL` – Damien_The_Unbeliever Jun 28 '12 at 14:49
  • 3
    @Brian: NULL isn't a character, but NUL is. – Eric J. Jul 10 '12 at 21:56
  • 1
    @Damien_The_Unbeliever Oh really? What is this I'm seeing in the C89 standard, then: http://port70.net/~nsz/c/c89/c89-draft.html#4.1.5 (page 108 in this PDF http://read.pudn.com/downloads133/doc/565041/ANSI_ISO%2B9899-1990%2B[1].pdf )? Looks like both are valid in different places, to me. I think NUL is usually a windows-ism. – Wyatt Ward Nov 23 '18 at 16:52

5 Answers5

6

Ctrl+spacebar works for both Windows and Linux platforms.

Bob Stein
  • 14,529
  • 8
  • 77
  • 98
jeevan
  • 247
  • 5
  • 12
5

See if this control character works:

Ctrl+@

josh3736
  • 131,871
  • 30
  • 208
  • 255
egres
  • 284
  • 1
  • 8
3

According to Wikipedia

Ctrl+SPACE works on many terminals (worked for me).

josh3736
  • 131,871
  • 30
  • 208
  • 255
Simon
  • 1,576
  • 2
  • 16
  • 38
1

Press and hold Alt and type Num Pad 0Num Pad 0Num Pad 0 then release Alt

Note: You must use the 0 key on the numeric key pad (a regular 0 key won't work for this), and you have to hold down Alt the whole time. The keystroke isn't emitted until you release the Alt key.

Wyck
  • 8,140
  • 4
  • 39
  • 51
-1

In editing fields in SQL Server, it is Control Zero (Ctrl + 0)

user1161391
  • 121
  • 2
  • 9