15

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

Most of the printable character starts from HEX value 20.

Eric J.
  • 147,927
  • 63
  • 340
  • 553
P K
  • 9,972
  • 12
  • 53
  • 99
  • 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
  • 16,271
  • 10
  • 88
  • 101
jeevan
  • 247
  • 5
  • 12
5

See if this control character works:

Ctrl+@

josh3736
  • 139,160
  • 33
  • 216
  • 263
egres
  • 294
  • 1
  • 8
3

According to Wikipedia

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

josh3736
  • 139,160
  • 33
  • 216
  • 263
Simon
  • 1,616
  • 2
  • 17
  • 39
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
  • 10,311
  • 6
  • 39
  • 60
-1

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

user1161391
  • 121
  • 2
  • 9