What will be the output of the following R code?

Q & ACategory: R ProgrammingWhat will be the output of the following R code?
Admin Staff asked 5 years ago

What will be the output of the following R code?

> x <- vector("numeric", length = 10)
> x

a) 10
b) 0 0 0 0 0 0 0 0 0 0
c) 01
d) 00120

1 Answers
Admin Staff answered 5 years ago

b) 0 0 0 0 0 0 0 0 0 0