Q. What will be the output of the following R code?
> x <- list(foo = 1:4, bar = 0.6, baz = "hello")
> name <- "foo"
> x$name

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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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