Question: 2. Text enclosed in /* */ in a C program _________. a. gives instructions to the processor b. declares memory requirements c. makes files available

2. Text enclosed in /* */ in a C program _________.

a. gives instructions to the processor

b. declares memory requirements

c. makes files available

d. causes a syntax error

e. is ignored by the C compiler

5. Which of the following is not a floating point data type in C?

a. float b. double *c. long d. long double

e. none of the above

6. A ______ error may be detected during execution of a program.

a. debugging

b. runtime

c. syntax

d. void

7. Which one of these is not the name of a C library function?

a. printf

b. sqrt

c. void

d. scanf

e. log

10. The ______ of a function take(s) information into the function from the calling program.

a. local variables

b. input arguments

c. output arguments

d. prototype

e. purpose

11. Which one of the following lines names a constant needed in a program that computes the price per square inch of a round pizza?

a. scanf("%lf", &radius);

b. pi = 3.14159;

c. #define PI 3.14159

d. #include

e. none of the above

12. Variables defined inside a function body are considered _____.

a. local

b. illegal

c. constant

d. format parameters

e. actual arguments

What will be the value of i after the C statements at the right have been executed?

a. 5 i = 3;

b. 6 j = 10;

c. 8 if ((3 * i) < j)

d. 10 i = i + 2;

e. 15 i = i + 3;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!