/  C-Programming-Quiz-9

This Quiz contains totally 10 Questions each carry 1 point for you.

1. If you don’t initialize a static array, then the element is set to
0
floating point
undetermined value
None of these

Correct!

Wrong!

2. Which is more appropriate for reading in a multi-word string?
printf()
scanf()
gets()
puts()

Correct!

Wrong!

3. The process of translating a source program into machine language is a function of
compiler
assembler
translator
None of the above

Correct!

Wrong!

4. Function argument can be a
structure member
pointer variable
complete structure
All the above

Correct!

Wrong!

5. A “switch” statement is used to
Switch between user-defined functions in a program
Switch from one variable to another variable
Jump from one place to another in a program.
None of these

Correct!

Wrong!

6. Using C language programmers can write their own library functions
True
False
May be
None of these

Correct!

Wrong!

7. A function is a subroutine that may include one or more ___ designed to perform a specific task.
Functions
statements
Libraries
Datatypes

Correct!

Wrong!

8. Which function is necessary to exist in each & every program?
void
main
sum
None of these

Correct!

Wrong!

9.  What is the answer of 7%3 ?
1
2
2.5
3

Correct!

Wrong!

10. The ___ chars have values from -128 to 127.
signed
unsigned
long
None

Correct!

Wrong!

Share the quiz to show your results !

Subscribe to see your results

Ignore & go to results

C-Programming-Quiz-9

You got %%score%% of %%total%% right

%%description%%

%%description%%

Where to go ?

Quizzes

Loading...