Set of multiple choice questions about programming with P11 prize
- Question 1. What function clrscr () is:
- As a function to delete the entire screen, after deleting, the cursor will be on the left side of the screen
- Used to clear the keyboard cache
- A function to delete characters located on the left of the cursor
- A function to delete characters located to the right of the cursor
-
- Question 2. What are the results of the following program section:
char c; int n;
scanf ('% c% d', & n, & c); If typing: 'r 45'.- n = 45, c = ''.
- n = 45, c = 'r'.
- Error while building the program
- Other results
-
- Question 3. Function scanf ('% [^ n]', str); Similar to the following command:
- getch ();
- getche ();
- getchar () macro;
- gets (str);
-
- Question 4. For the following program section:
#include
The requirements of the above paragraph are:
#include void main ()
{
char c; clrscr ();
because c = getchar (); while (c! = '*'); getch ();
};- Enter 1 character until you see the character '*'.
- Enter the characters until you see the '*' character.
- Enter the characters '*'.
- Error while building the program
-
- Question 5. What are the results of the following program:
#include
void main ()
{
printf ('% d', 3 6);
};- 0
- first
- true
- Other results
-
- Question 6. The '++ n' operator is understood:
- The value of n decreases after its value is used
- The value of n decreases before its value is used
- The value of n is increased after its value is used
- The value of n is increased before its value is used
-
- Question 7. The 'n--' operator is understood:
- The value of n decreases after its value is used
- The value of n decreases before its value is used
- The value of n is increased after its value is used
- The value of n is increased before its value is used
-
- Question 8. Which one-sided operation is used to determine the value at the address of the pointer pointing to:
-
- !
-
- &;
-
- *;
- Other results
-
- Question 9. Subtracting 1 pointer with an integer will be:
- An integer
- A pointer of the same type
- Both results are correct
- Both results are wrong
-
- Question 10. What is the result of the following code:
Employeestruct Employee struct {char Code [], name []; long Salary;};Employee e1= { 'E089', 'Hoang so', 12000}, e2=e1; long Salary;}; Employee e1 = {'E089', 'Hoang so', 12000}, e2 = e1; printf ('% ld', el.Salary + e2 -> Salary);
- 24000
- 12000
- The code is broken
- Other results
-
5 ★ | 1 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
- A set of multiple choice questions for programming has a P2 prize
- Set of multiple choice questions for programming with P8 prizes
May be interested
- Set of multiple choice questions on programming with P9multiple choice questions about programming help you gain more useful knowledge for yourself in the process of learning and working. there will be 10 questions for you to test your knowledge. let's start.
- Set of multiple choice questions about programming with P12the programming test questions below will provide you with useful knowledge on this topic. if you want to study programming, you should not ignore the series of programming tests of network administration.
- Set of multiple-choice questions on award-winning programming P5serializing programming tests, in the following article, readers will be able to expand their knowledge with more interesting questions. let's start.
- Set of multiple choice questions about programming with P6the following network administrators will continue to send you interesting questions about programming. if you love this topic, then try your knowledge.
- Multiple choice questions about programming with P1 prizeprogramming is the use of programming languages and tools and utilities to write code, build practical programs and applications on your computer to serve your life. the following is an invitation to test your knowledge with our following series of articles.
- Multiple choice questions about Javascript languageif you are a beginner of these programming languages, the following multiple-choice questions of network administrator will be very suitable for you to support knowledge.
- Guide to creating multiple choice questions on VnEduone of the outstanding features of vnedu is to create multiple choice questions quickly. using vnedu, teachers will not worry about test questions that are identical to multiple choice questions, can add and edit questions easily to make midterm or final exam questions, ...
- P13 programming set of multiple choice questionsyou are a fan of programming languages and want to learn more about this topic. to give you an interesting reading about programming, in this article, the network administrator will send you a good quiz about this topic. invite your reference.
- A set of JavaScript multiple-choice questions has P4 answersplease read your knowledge and multiple choice questions around the javascript topic that the network administrator has edited below. the set of questions includes 10 sentences to try.
- A set of JavaScript multiple-choice questions with P2 answerslocated in the series of tests on programming languages, in the basic knowledge test below network administrators will send you questions with javascript topics.