Q. What will be the output of the following R code snippet?
> f <- function(a, b) {
+ a^2
+ }
> f(2)

  • (A) 4
  • (B) 3
  • (C) 2
  • (D) 5
πŸ’¬ Discuss
βœ… Correct Answer: (A) 4

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
176
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate