0 votes
in Swift by
Which command is used to get the current version of swift?

A

$ swift -version

B

$ swift --version

C

$ swift --v

D

$ swift --currentversion

1 Answer

0 votes
by

Answer: B

Reason:  To get the current version of Swift, run thefollowing command: $ swift --version

Related questions

0 votes
asked Nov 6, 2022 in Swift by rajeshsharma
0 votes
asked Nov 8, 2022 in Swift by SakshiSharma
...