Set of multiple choice questions on programming with P3 prize
- Question 1. In the following functions, which function is an unformatted function to print a character string to the screen:
- puts ().
- printf ().
- scanf ().
- gets ().
-
- Question 2. Result of the following program:
#include 'stdio.h'
void main ()
{
int i; i = 10;
printf ('% o', i);
}- 8
- ten
- twelfth
- Other results
-
- Question 3. Using any transmission in the function will not change the value of the variable in the main program:
- Transmission by value
- Transmission by address value of parameter
- Both a and b are correct
- A and B are wrong
-
- Question 4. Indicates the value of expression 5> 1
- -first
- 0
- first
- No sentence is correct
-
- Question 5. Indicates the value of expression 2 + 4> 2 && 4
- 0
- first
- -first
- No sentence is correct
-
- Question 6. Cursor variables can contain:
- Memory address of another variable
- Value of another variable
- Both a and b are correct
- A and B are wrong
-
- Question 7. Character data includes:
- Digit digits
- Alphabetical characters
- Special characters
- All answers above
-
- Question 8. If the function is called before it defines, what is the condition:
- The return type of the function must be of type void
- The input type of the function must be of type void
- Before calling the function it must be declared
- The function only returns the boolean data type
-
- Question 9. What kind of float data can the float data type handle:
- 3.4 * 10-38 to 3.4 * 1038.
- -32768 to 32767
- -128 to 127
- 0 . 65535
-
- Question 10. Which of the following data types is not considered to be the basic data type in the C programming language:
- Array type
- Enum type
- Short type int
- Unsigned style
-
4.5 ★ | 2 Vote
You should read it
- Set of multiple choice questions about programming with P10 prize
- Set of multiple choice questions about programming with P7 prize
- P13 programming set of multiple choice questions
- Set of multiple-choice questions on award-winning programming P5
- Set of multiple choice questions about programming with P6
- Set of multiple choice questions on programming with P16 prize