101k views
0 votes
Q1 Give two examples of print () that will lead to errors.​

User GrowinMan
by
5.4k points

1 Answer

3 votes

Answer:

print(a') print(endl<<)

Step-by-step explanation:

These are two different statements of print() function which will lead to error because in the first example we have passed the variable with a closing quotation mark and in the second we are passing the manipulator to the function body which will also lead to error.

User Joseph Snow
by
5.1k points