Choose the correct answer: def s(n1): print(n1) n2=4 s(n2) Statement A : n1 and n2 have same memory Address Statement B : both n1 and n2 are referring to the same value, so they have same identity

Question:
Choose the correct answer:
def s(n1): 
      print(n1) 
n2=4 
s(n2) 

Statement A : n1 and n2 have same memory Address
Statement B : both n1 and n2 are referring to the same value, so they  have same identity

1.Statement A is True and Statement B is False

2. Statement A is False and Statement B is True

3.Both the statements are True

4.Both the statements are False

Posted Date:-2021-12-12 02:19:43


More MCQS Questions and answers

Search
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!