Assignment (8) MultipleChoiceQues
Assignment (8) MultipleChoiceQues
(a) -32767
(b) +32767
(c) 65535
(a) #
(b) $
(c) Number
(d) Letter
5. Which header file must be included to use the functions pow( ) and sqrt( )?
(a) #include<iostream.h>
(b) #include<stdio.h>
(c) #include<conio.h>
(d) #include<math.h>
(a) 5,5
(b) 6,4
(c) 4,6
(d) 4,5
(a) 15
(b) 1471013
(c) 147101316
17. Given the following code, what is the value of the variable x?
int fun[5] = {3, 2, 5, 7, 32, 0};
int x = fun[3];
(a) 5
(b) 7
(c) 0
(d) None of the above
18. Which of the following is correctly declares an array?
cout<<num[0];
(a) 0
(b) 15
(c) 80
(d) None of the above