Set of multiple-choice questions on award-winning programming P5
- Question 1. Suppose there is a ch = 'A' statement. So how many bytes will it contain:
- first
- 2
- 3
- 4
-
- Question 2. Suppose there is a command ch [] = "A". How many bytes are included:
- first
- 2
- 3
- 4
-
- Question 3. Print results to the screen of the following program:
#include void main ()
{
int ch = 'A'; printf ('% d', ch);
}- A
- a
- 65
- Other results
-
- Question 4. Result of the following program:
#include
void main ()
{
int i = 98; printf ('% c', i);
};- B
- b
- 98
- Other results
-
- Question 5. Print results to the screen of the following program:
#include
void main ()
{
int i = 5, j = 6; i = i- --j;
printf ('% d', i);
};- 6
- 5
- first
- 0
-
- Question 6. The general form of printf () function is: printf ('array of specifications', sequence of expression code); In it, the code set will be:
- The range of data format codes displayed
- Cursor of string of characters
- Character strings are informative
- All 3 answers above
-
- Question 7. In the following functions, which function is an unformatted function to enter a character from the keyboard
- scanf ()
- getchar ()
- getch ()
- getche ()
-
- Question 8. In the following functions, which function to enter a character from the keyboard immediately after typing, do not wait press Enter and do not show the screen:
- scanf ()
- getchar ()
- getch ()
- getche ()
-
- Question 9. Which function reads the character from the keyboard immediately after typing, without waiting for pressing Enter. The characters appear on the screen:
- canf ()
- getchar ()
- getch ()
- getche ()
-
- Question 10. What is the following screen print result of the program:
#include
void main ()
{
int i;
for (i = 2; i <= 4; i + = 2) printf ('% 3d', i);
};- '1 2 3 4'
- '2 3'
- ' 2 '
- The program cannot run
-
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 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
- Set of multiple choice questions on programming with P14 prize
May be interested
- 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 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.
- Set of multiple choice questions about programming with P10 prizethe programming questions below will give you lots of useful information. if you are interested in learning programming languages, the series of programming language topics will be very helpful for you.
- Set of multiple choice questions for programming with P15 prizeprogramming is a discipline that attracts many young people interested. not only that job opportunities after graduation with this job are extremely open. so, if you love programming, you should not ignore the following quiz series of network administrator.
- 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.
- Test on JAVA test P7a set of multiple-choice questions about java gives you useful knowledge for work and study. the set of questions below includes 10 sentences for you to experience.