1. The term ISP stands for? A. Information System Protocol B. Internet System Protocol C. Internet Service Provider D. Information Service Provider1. What are the main components of a character set?...

1. The term ISP stands for?

A. Information System Protocol B. Internet System Protocol


C. Internet Service Provider D. Information Service Provider1. What are the main components of a character set?


A. Letters and digits B. Blank spaces C. Special symbols D. All of the above


2. Which of the following is a keyword?


A. void B. goto C. register D. All of the above


3. Which is the correct format of writing #defi ne?


A. #defi ne pi 3.141 B. #defi ne size 10 C. #defi ne name “APT” D. All of the above


4. What is the range of unsigned char?


A. 0 to 255 B. 0 to 4255 C. –128 to 127 D. None of the above


5. What is the range of short int?


A. 0 to 65535 B. –32768 to 32767 C. –128 to 127 D. 0 to 255


6. What is the right way of declaring a constant?


A. const int size = 10; B. const int size; C. int size; D. None of the above


7. What is the output of the following code?


A. The code is erroneous B. Print numbers from 15 to 7 in reverse order


C. Print numbers from 15 to 6 in reverse order D. Print numbers from 6 to 15


8. Which of the following is used to represent a null character?


A. \n B. \0 C. \b D. \f


9. Which of the following is not a valid variable name?


A. T_marks B. Name C. 45xy D. value





May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here