The answers to common written or interview questions compiled by one student are for reference only and do not represent my opinion.
1. It is known that the prototype of the strcpy function is:Char * strcpy (char * strdest, const char * strsrc );Here, strdest is the destination string and strsrc is the source string. Do not call the string library function of C ++/C. Compile the strcpy function.Answer:C
digits:"); int N=scanner.nextint (); int [] num=new int[n]; SYSTEM.OUT.PRINTLN ("Input remaining number:"); int max=integer.min_value; int min=integer.max_value; int s=0; for (int i=0;iSequence and 01 FlipLongest common continuous substringAssembling trianglesThe smallest rectangleString classificationThe beautiful palindrome stringGo to the companyAdjust formationCollectionPainting BoardSmall easy to remember wordsSplit biscuitsBuy a HatThe degree of t
, array, Regexp, date, globel, math, and error, and the object types provided by the host environment.
Except for reference, list, and completion, these answers are similar.
2. What are the similarities and differences between alt and title?
I saw such an article a few days ago. These two attributes are repeated. The performance varies in different browsers. When both ALT and title are set, ALT is used as an alternative text for the image. title is the interpreted Text of the image.
I just mad
I. Fill in blank questions:1. Access the device as a file in Linux.2. Read the file system to be loaded from the file/etc/fstab during Linux kernel boot.3. Each file in the Linux File System is identified by an I node.4. All disk blocks are composed of four parts: boot block, dedicated block, I node table block, and data storage block.5. links are divided into hard links and symbolic links.6. The super block contains important file system information
Common SQL Server test questions (1) Question 1 Problem description: create three tables for managing job business training information: S (s #, Sn, SD, SA) s #, Sn, SD, SA stands for student ID, Student name, organization, student age C (C #, CN) C #, CN stands for course number, course name SC (s #, CN respectively #, C #, g) s #, C #, and g respectively represent the student ID, the number of the electiv
(the header field used by the response message)Accept-ranges: Acceptable byte rangeLocation: The URI to which the client is redirectedInstallation information for the SERVER:HTTP serverD, the Entity header field (the header field used by the entity portion of the request message and the response message)Allow: The HTTP method supported by the resourceContent-type: Type of entity main classContent-encoding: The encoding method that the entity body applies ToContent-language: The natural language
Int V)
{
Const Int P;
P = V;
}
Answer: The reference must be initialized during definition. It should be: const Int P = V;
2. programming questions: Flip the linked list.
Answer:
Typedef struct Node
{
Int value;
Struct node * next;
} Slink;
Slink * reverselink (slink * H)
{
Slink * Pre, * cur, * next;
Pre = NULL;
Cur = h;
Next = cur-> next;
While (next)
{
Cur-> next = pre;
Pre = cur;
Cur = next;
Next = Next-> next;
}
Return cur;
}
3. Write outp
Rules:
1. There are 40 questions below, 4 of which can be selected. Do not discuss them with others.2. If you have no idea, think about what you are in the eyes of your friends. If you are still not sure, think about what it is like when you have no school or social impact when you are a child.3. Finally, count the number of C, M, S and P, for example: 18C 12 m 5S 5 p
Question (40 ):
1. C: Make up your mind for new things.P: easy to integrat
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.