Consider the following code and choose the incorrect statement.: def s(n1): print(id(n1)) n2=4 s(n2) print(id(n2))

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Consider the following code and choose the incorrect statement.:
def s(n1):
      print(id(n1))
n2=4
s(n2)
print(id(n2))

1.Function name is ‘s’

2.Function ‘s’ is taking one parameter.

3.Both print statement will print the same value.

4.Both print statement will print different value.


More MCQS Questions and answers

R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!