b) #include c) #include Which of the following libraries is used to make the programmer able to use the (sin(x)) function in a2)d) #include C++ program?a) #include c) #include b) #include d)...


For each question, choose the correct answer from the multiple-choice list:<br>Part A<br>Which of the following libraries is used to make the programmer able to use the (cin) function in a C++<br>1)<br>program?<br>a) #include<iostream.h><br>b) #include<conio.h><br>c) #include<math.h><br>Which of the following libraries is used to make the programmer able to use the (sin(x)) function in a<br>2)<br>d) #include<string.h><br>C++ program?<br>a) #include<math.h><br>c) #include<iostream.h><br>b) #include<conio.h><br>d) #include<string.h><br>For inserting a comment in the C++ program, which one of the following statements can be used?<br>3)<br>a) // comment<br>b) /* comment<br>d) \t comment<br>c) # comment<br>The data type that used to hold ASCII code in the C++ language is<br>a) char<br>c) double<br>4)<br>b) float<br>d) int<br>What is the size of (long double) data type in C++?<br>5)<br>a) 10<br>b) 4<br>c) 8<br>Which of the following is the correct identifier?<br>a) $var_name<br>c) VAR_123<br>d) 2<br>6)<br>b) 123_VAR<br>d) varname@<br>The data type that used to hold the integer number with 2-byte size in the C++ language is<br>a) int<br>7)<br>b) double<br>c) short int<br>d) long int<br>Which of the following declarations is not correct?<br>8)<br>a) char h = 'a';<br>b) char h = '@';<br>d) char h = '2';<br>c) char h = 'ali';<br>Which of the following identifiers is the keyword?<br>9)<br>a) COUT<br>b) Cout<br>d) #cout<br>c) cout<br>Which operator has the lowest precedence?<br>10)<br>a) %<br>b)/<br>d) ++<br>c) +<br>

Extracted text: For each question, choose the correct answer from the multiple-choice list: Part A Which of the following libraries is used to make the programmer able to use the (cin) function in a C++ 1) program? a) #include b) #include c) #include Which of the following libraries is used to make the programmer able to use the (sin(x)) function in a 2) d) #include C++ program? a) #include c) #include b) #include d) #include For inserting a comment in the C++ program, which one of the following statements can be used? 3) a) // comment b) /* comment d) \t comment c) # comment The data type that used to hold ASCII code in the C++ language is a) char c) double 4) b) float d) int What is the size of (long double) data type in C++? 5) a) 10 b) 4 c) 8 Which of the following is the correct identifier? a) $var_name c) VAR_123 d) 2 6) b) 123_VAR d) varname@ The data type that used to hold the integer number with 2-byte size in the C++ language is a) int 7) b) double c) short int d) long int Which of the following declarations is not correct? 8) a) char h = 'a'; b) char h = '@'; d) char h = '2'; c) char h = 'ali'; Which of the following identifiers is the keyword? 9) a) COUT b) Cout d) #cout c) cout Which operator has the lowest precedence? 10) a) % b)/ d) ++ c) +
Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here