Login
Remember
Register
Ask a Question
Which command is used to get the current version of swift?
0
votes
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
Which command is used to get the current version of swift?
A
$ swift -version
B
$ swift --version
C
$ swift --v
D
$ swift --currentversion
swift
command
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 6, 2022
by
rajeshsharma
Answer: B
Reason: To get the current version of Swift, run thefollowing command: $ swift --version
...