English

The size of '\n' is ______. - Computer Applications

Advertisements
Advertisements

Question

The size of '\n' is ______.

Options

  • 2 bytes

  • 4 bytes

  • 8 bytes

  • 16 bytes

MCQ
Fill in the Blanks

Solution

The size of '\n' is 2 bytes.

Explanation:

The newline character '\n' typically occupies 2 bytes in memory in most systems. It represents a line break in text files.

shaalaa.com
Escape Sequences
  Is there an error in this question or solution?
2024-2025 (April) Specimen Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×