Computer Science, asked by archanadeaf, 4 months ago

1.
What is the difference between a keyword and an identifier?
2.
Explain the following terms:
0 Literals
(ii) Implicit conversion
3.
How many ways are there in C++ to represent an integer constant?
4.
State the rules for comment statement?
5.
What is an Escape sequence. Describe any two backslash character
constant?
6.
Explain briefly about stardard Input/Output stream of C++.​

Answers

Answered by zainabjaved147
1

Keywords are predefined word that gets reserved for working progs that have special meaning and cannot get used anywhere else. Identifiers are the values used to define different programming items such as variables, integers, structures, unions and others and mostly have an alphabetic character

Answered by aalminsiddiqui
2

Answer:

1. Keywords are predefined word that gets reserved for working progs that have special meaning and cannot get used anywhere else. Identifiers are the values used to define different programming items such as variables, integers, structures, unions and others and mostly have an alphabetic character.

3. two ways

In C/C++ program we can define constants in two ways as shown below: Using #define preprocessor directive. Using a const keyword.

5. Escape Sequences

A backslash character ( \ ) is used to introduce an escape sequence, which allows a visual representation of certain nongraphic characters. One of the most common escape constants is the newline character ( \n )...

Explanation:

Hope it is helpful for you

Similar questions