Sail E0 Webinar
Question
What would be the output of the following code ?x - c("a", "b", "c", "c", "d", "a") x[c(1, 3, 4)]
Options:
A .  a" b" c"
B .  a" c" c"
C .  a" c" b"
D .  All of the mentioned
Answer: Option A


The sequence does not have to be in order; you can specify any arbitrary integer vector.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers