Help make the following C language problems, 20 points reward speed Thank you here

Updated on delicacies 2024-04-13
5 answers
  1. Anonymous users2024-02-07

    1. The main function in the C source program is main, the standard output function name is printf, and the standard input function name is scanf.

    2. The number of bytes allocated by the basic integer int is 4 bytes, and the number of bytes allocated by the single-precision real float is 4 bytes.

    3. In the loop, the statement that ends this loop and transfers to the condition judgment of the next loop is continue (break continue).

    4. When defining arrays in C language, the requirement for numerical subscripts is constant integers.

    5. While loop and do....The difference between while loops is that the former enters the loop only when the condition is true, while the latter executes the loop once and then judges whether to continue the loop.

  2. Anonymous users2024-02-06

    One. 1)a

    2)c3)d

    4)c5)c

    6) Why do I think there is no answer, it should be 0-65535.

    7)a8)a

    9) C10) B II.

    4) Integer constants or constant expressions.

    5) The order of judgment and execution.

    Three. Do you need to fill in the blanks?

    Four. main( )

    int i,a[5],n;

    for(i=0;i<5;i++)

    scanf(“%d”,&a[i]);

    n = a[0];

    for(i=1;i<5;i++)

    if(a[i]n=a[i];

    prinf(“min=”,n);

    If you need to explain, please say it, you don't have to be polite

  3. Anonymous users2024-02-05

    Two. 2. The number of float bytes depends on the machine, 4 under the window;

    3、continue;

    4. The following table must be an integer constant or an integer constant expression (initialized) 5. While is the first judgment condition, and then executed if it is met; The do-while must be executed once, the second time, the judgment condition, if it is met, it is executed; (To put it simply, while is the first judgment to be executed, and the do-while is the first to execute before the judgment).

  4. Anonymous users2024-02-04

    First of all, x=10 is smaller than 20.

    Execute y=100

    x is greater than 4 Execute 55 10=5 Assign 5 to y and print out 5

  5. Anonymous users2024-02-03

    Initial x=10, y=unknown.

    if (x<20) y=100;At this point, y=100

    if (x>4) y=55/x;At this point, y=55 10=5 (because y is an integer).

Related questions
6 answers2024-04-13

using system;

using ; >>>More

4 answers2024-04-13

To put it simply, there are two aspects to the problem.

First, theoretically speaking, there is no system without defects in the world, and any system, including the market economic system, has its limitations and defects. >>>More

14 answers2024-04-13

Scrambled eggs with tomatoes or tomatoes with sugar.

Tomato scrambled egg steps: >>>More

5 answers2024-04-13

Beef brisket stewed with potatoes.

Cut the beef brisket into small pieces and stir-fry in oil, add some green onions, ginger and garlic, add more water to steam until it is almost rotten, add potatoes, carrots, and beans and stew until cooked. >>>More

2 answers2024-04-13

Chop the fish head with peppers. Material.

Ingredients: Fish head (big-headed fish), ginger, green onion. >>>More