71.
Point out the wrong statement?

72.
Which of the following R code can be used to avoid numeric problems such as taking the logarithm of a negative number?

76.
Point out the correct statement?

77.
What will be the output of the following R code?
> printmessage <- function(x) {
+     if(x > 0)
+          print("x is greater than zero")
+     else
+          print("x is less than or equal to zero")
+     invisible(x)
+ }
> printmessage(NA)

Read More Section(Control Structures in R Programming)

Each Section contains maximum 100 MCQs question on Control Structures in R Programming. To get more questions visit other sections.