Advertisements
Advertisements
प्रश्न
Assertion (A): Use of escape sequence becomes necessary in programs at a certain point in time.
Reason (R): Certain non-graphic characters cannot be typed directly through the keyboard.
पर्याय
Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).
Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion (A).
Assertion (A) is true and Reason (R) is false.
Assertion (A) is false and Reason (R) is true.
Advertisements
उत्तर
Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).
Explanation:
Escape sequences are used to represent special or non-graphic characters (such as \n for a new line and \t for a tab) that cannot be typed directly from the keyboard.
Therefore, the reason correctly explains why escape sequences are needed.
