Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. The escape sequence ‘\ ’ means newline. It causes the cursor to move to the b

ID: 3674248 • Letter: 1

Question

1. The escape sequence ‘ ’ means newline. It causes the cursor to move to the beginning of the next line on the screen.

2. C++ programs begin executing at the function main ( ) , even if main does not appear first in the program.

3. The module operator % can be used both with integer and double numbers.

4. A selection control structure chooses among alternative courses of action.

5. A nested control statement appears in the body of another control statement.

6. The statements Salary = 5000.00 is same as Salary = = 5000.00. 7. The statement count = count + 1 is same as ++ count .

8. A structured program should be written using only the three control structures, sequence, selection and repetition.

9. The logical OR operator ( | | ) ensures that both conditions are true before choosing certain path for execution.

10. In C++ the return value of a true statement is 1 and the return value of a false statement is zero.

Explanation / Answer

I have a C code like this:

I have used the as the escape sequence randomly!(for experimentation's). When I run the code I get the out put as:

How come, so whats the use of exactly?

Updated:

If I run the same code in online compiler I get the output as:

Hey this is my first hello world

How come an online compiler produces the output differently and ignores the ?

Thanks in advance.