what is answer of question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is answer of question

What is the output of the following code? struct Test { var num = 0 subscript(tmp: Int) -> Int { return tmp*num } } var t = Test(num:8) print(t[2])

7th Mar 2018, 5:12 AM
Rajeev Sharma
2 Answers
0
I really appreciate https://fileexplorerwindows.com this post really informative.
25th Sep 2023, 9:57 AM
siya tomar
siya tomar - avatar
- 2
answer:16
16th Apr 2018, 1:04 PM
Nancy Tanna
Nancy Tanna - avatar