Test on C programming P4
- Question 1: Character data included
- Digit digits
- Alphabetic characters '% ld'
- Special characters
- All answers above
-
- Question 2: Function used to allocate dynamic memory for dynamic memory type defined by programmers such as (union, struct):
- calloc ()
- malloc ()
- realloc ()
- All 3 plans on
-
- struct S1 * next;} * head; Know the pointer '* head' stores the address of the first element in the list. Which of the following statement groups adds an element to the top of the list:
- p-> next = head; head = p
- p-> next = head; head-> p; head = p-> next
- head-> next = p; p = head;
- No sentence correctly
-
- struct S1 * next;} * head; Know the pointer '* head' stores the address of the first element in the list. Which of the following statement groups deletes the first element from the list:
- head-> next = head;
- head = head-> next-> next;
- head = head-> next;
-
- Question 5: What is the wrong statement when talking about linked list:
- Each element in the linked list must have at least one field used to store the address.
- Using linked lists usually saves more memory than using arrays.
- Using linked lists often costs more memory than arrays.
- No idea right
-
- Question 6: Which sentence does not mention the advantages of using the structure:
- You can mix up data types in a unit
- You can store data of different length characters in a structure variable
- Data can be stored in a module and in a hierarchical form
- At least one memory is required for the same data
-
- Question 7: How can I represent the 'hoten' element of SV1:
struct SV
{
hoten char [20];
} SV1, * p;
p = & SV1;- SV1.hoten;
- p-> hoten;
- & hoten;
- Answers a and b
-
- Question 8: Where is the wrong statement:
- You can pass a parameter as a struct variable to the function
- Can pass parameters as a pointer variable to the function
- Can pass a parameter as a pointer variable struct to the function
- Cannot pass parameters as elements of struct for functions
-
- Question 9: Let array A contain elements of type struct, which statement is true when accessing the fields of the elements:
- A [indicator]. School name;
- A. field name;
- & A. school name;
- & A [indicator]. School name;
-
- Question 10: The memory space used to store the nodes of the double linked list:
- Storage scattered in memory
- Always store continuously in memory
- Stored storage
- Store segmented style
-
4 ★ | 1 Vote
You should read it
- Test about programming C P2
- Test about C programming
- Test about programming C P3
- Set of multiple choice questions about programming with P17 prize
- Set of multiple choice questions about programming with P12
- Set of multiple choice questions for programming with P8 prizes
- Set of multiple choice questions about programming with P10 prize
- A set of multiple choice questions for programming has a P2 prize
May be interested
- 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.
- A set of multiple choice questions for programming has a P2 prizeprogramming is the use of programming languages and utility tools to build applications and executable programs on computers for life. in this article, invite readers to test their knowledge and multiple choice questions around this topic.
- Set of multiple choice questions on award winning P4 programmingthe set of multiple choice questions for programming has been invited to read and test by the network administrator. set of 10-question questions with 4 answers, try to see how many answers you can get.
- 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.
- eQuiz - VB.NET testing test - Part 2in the previous article, i showed you the first part of the vb.net test. and this time, we will continue with part 2 of this popular quiz series on programming languages, the whole test will have 15 questions with unlimited response time.
- JAVA test test P1java is an object-oriented and class-based programming language. to help you read more interesting knowledge about the java programming language, the network administrator will send you a very interesting multiple choice question on this topic. please try.
- Test on JAVA P10 testmultiple choice questions on java programming help you test your basic knowledge of this programming language. the set of questions includes 10 sentences to try.
- Test about C programmingif you are a fan of this programming language, you can try your knowledge through our multiple-choice questions.
- Test about programming C P2if you are a fan of this programming language, you can try your knowledge through our multiple-choice questions.
- CSS test with answer P4set of multiple choice questions about css programming language, invite readers to test their knowledge on this topic. with 10 questions including 4 answers, please choose the best answer.