Please give me these answers in C and ask me for a C question

Updated on educate 2024-02-09
7 answers
  1. Anonymous users2024-02-05

    Note: This analysis is based on:

    1,(from is a read-only property of public, sort has 17 overloaded methods, clone method inherits from object and is also defined in the array class, and copyto also has two overloads. So let's look at the length this way.

    2. When we program with a type, if the type is not constructed by ourselves, then we can only see the public properties of the class (including events and delegates 1), the public method and its inheritance, and the others cannot be seen or used. So fill in the public ownership method and inheritance relationship (this question is controversial: inheritance can be changed to trigger event).

    3. For a beginner, c is very convenient when using it, which is what it should be. The .NET Framework library is very powerful and gives us a lot of convenience. Generally speaking, we're calling.

    The class libraries in the .NET Framework are referenced in the front. .NET Framework namespaces (e.g., using; The root namespace of these namespaces is system.

    So fill in. .NET framework and system namespaces.

    4,c has a noun called "static", which is defined by the keyword "static", and you can see that all the methods provided in the class are modified by the keyword "static". So fill in the static.

    1 Whether it is action, func, eventhandler, or other custom events (such as click events), they are all delegated, but when the delegate is opened, it is defined in the way of defining properties (public eventhandler clickset}), so I personally think that delegates are also public attributes.

  2. Anonymous users2024-02-04

    It's C, it's not C.

  3. Anonymous users2024-02-03

    C and C are completely different, big brother.

  4. Anonymous users2024-02-02

    This question involves the problem of logical short circuits.

    For a&&b, when a is 0, b will not be judged, the value of this expression will be 0, and the related operations on b will of course not take effect.

    |"It's the same with the arithmetic.

    So in this problem, the value of a in a becomes 0 first, so there is no subsequent operation on b and c. At this point, a:0

    b:2c:3

    Then in ++a, a becomes 1, and it can already be determined that this expression is true, so there will be no further operations, at this time.

    a:1b:2c:3

  5. Anonymous users2024-02-01

    The answer is indeed 10, yes. Because min is a macro and not a function, the difference between a macro and a function is that the macro is called at the position "**", that is, k=10*min(i, j); This sentence ** is actually followed by **: k = 10 * (i) > (j) ?

    i):(j);This operation is 10 first multiplied by variable i and then compared with variable j, that is, 10*10>15?10:

    15, so the value of k is still 10 in the end.

  6. Anonymous users2024-01-31

    5. Why can an actual parameter be any expression of a suitable value, but a formal parameter can only be a variable?

    6. In your own words, describe what a pointer variable is and identify at least one of the methods they use in C.

    7. Declaring a pointer variable is called "size", which is a pointer to an integer variable.

    8。Declaring a pointer variable is called "water termperature" and is a variable that points to a float.

    9. Explain in your own words what global variables are (with examples**) and explain how and why they use them.

    10 Why are global variables dangerous, and why should they not be used whenever possible?

  7. Anonymous users2024-01-30

    39) c is correct, and the value of b at the end is 2. Because &&& than ||The priority is high, so the original question is interpreted as ++a ||b &&c);。The value of a is 2, not 0, ||As long as one side is not 0, it is "true", so the value of the whole expression can already be determined, ||The following expression is no longer evaluated, so b retains the original value of 2.

    40) b is correct, the result is 8. Because the so-called "comma expression" in () calculates the value of each sub-expression from left to right, but finally takes the value of the sub-expression after the last right comma as the value of the entire expression. Since j++ is post-++ and is executed after participating in the operation, the value of the whole expression is 3+5=8, after which j changes from 5 to 6.

    41) b is correct, and the last value is 8. It is the same comma expression as 40), note that the value of the a*2 fractional expression is not assigned to a, so a is still 2, and finally 2+6=8.

Related questions
4 answers2024-02-09

The most tenacious life.

Let me ask you a question: What is the most tenacious plant in the desert? You'll definitely say: >>>More

20 answers2024-02-09

1 xy(x^2y^2+2xy+1)=xy(xy+1)^22 4x^2-1= (2x+1)(2x-1)3 b4 a

1.Decomposition Factor: >>>More

41 answers2024-02-09

The main force, you have to see what the main force is, there are carry and ganker, I think these two heroes are the main force. >>>More

10 answers2024-02-09

Wan Jianing, Wan Jiayi, Wan Jiakai, Wan Chenyi, Wan Xinyi, Wan Hongyi.

28 answers2024-02-09

Top Star TM-P4S661G 390 yuan (260 yuan for the same chipset) Brand: Top Star (topstar). >>>More