Two Annoying Questions C Language 10

Updated on technology 2024-05-04
19 answers
  1. Anonymous users2024-02-09

    1 Don't give up, think slowly.

    2 Don't forget that C++ and C can be compared to each other, the biggest difference is only in the output part.

    The process-oriented approach is basically the same.

    The object-oriented part is specific to C++, and the two languages don't mix.

  2. Anonymous users2024-02-08

    1 If you've been thinking about giving up, give up. There are many people who learn this thing, and there are few people who know it, and that's what it should be.

    These two themselves will not be forgotten.

    C++ is based on C, so you must have something C in what you learn C++, and as long as you practice it, you won't forget it.

  3. Anonymous users2024-02-07

    1. The Tower of Hanoi function is a classic recursion problem, and beginners generally can't do it. It's not that I can't write a program, but I feel that I don't have a clue at all, and after the teacher's explanation, it's easy to do.

    2. C++ inherits more than 60% of C's syntax, so learning C++ will not forget C, and the foundation of C will deepen your understanding of object orientation. Also, if you don't use object-oriented mechanisms like classes and inheritance, C++ and C basically don't go.

  4. Anonymous users2024-02-06

    I won't forget it.,I haven't even thought about the Tower of Hanoi.,When you actually use nesting, you just need to write it yourself.。

  5. Anonymous users2024-02-05

    It's really hard to do hanoi as a beginner (I can't say that no one can do it), but it probably doesn't work for most people.

  6. Anonymous users2024-02-04

    C++ can not be learned, learn C

    You won't forget the previous language when you learn another language.

    There's no need to understand the Tower of Hanoi, and although I do, I can't make it up, and it's okay to do nesting.

  7. Anonymous users2024-02-03

    1. Step-by-step is the best way to learn, and the Hanoi Tower problem will be easy to do after you learn the data structure.

    2, C++ can be said to package all the content of C, or that sentence from simple to difficult, first learn C and then C;

  8. Anonymous users2024-02-02

    Take your time, if anyone can write the Tower of Hanoi in C when they are just starting to learn C, then they must be a genius.

  9. Anonymous users2024-02-01

    The Tower of Hanoi can read it, and understand the meaning of function nesting.

    Now learn C well, let's learn C++.

    It's not good to really forget about C.

  10. Anonymous users2024-01-31

    The first result is:

    The result of the second question of the dijob is:

  11. Anonymous users2024-01-30

    1.If you force me again, if you force me again, I'll play dead to show you!

    2.Lao Tzu not only has a car, but also has his own!

    3.There are so many people who despise me, how old are you?

    4.I won't say anything about killing me, you haven't made a beauty yet!

    5.Not only do I have good luck, but I also have good athlete's foot!

    6.It's the mirror that always reflects!

    7.Handsome has a p use? It's not like being eaten by a pawn!

    8.Leave it to me and you don't have to worry, there's nothing you can't go wrong!

    9.Don't be nervous, I'm not a good person.

    10.Don't thank you, how embarrassed to collect money from you after thanking!

    11.Don't tell me to let the horse come--- I'm Avanti!

    12.If you ignore me, then I'll be a dog!

    13.If you can't reach it, try it with your left foot on your right foot.

    14.Some people are alive, she is dead. Some people are alive, and he should have died a long time ago!

    15.You said. You like me? In fact. I started out. Actually, I am. Well, I'll tell you, but I actually like my own.

    16.Do you drink water, or drink water, or drink water? Take your pick!

    17.Hey, say what should be said, whisper what shouldn't be said.

    18.Can you talk about stealing the things of the readers?

    19.Zi once said: Don't take my tolerance of you as your shameless capital!

    20.Don't think that because I'm handsome, I think I'm unattainable, in fact, I'm inclusive.

    21.The weather is nice today, it's windy and rainy.

    22.As a typical example of failure, you are just too successful!

    23.I really want to get rid of this little worm, but my tongue is not long enough.

    24.The feet of three cobblers stinked and one Zhuge Liang died.

    25.If you bother me again, I'll tie you to the grass boat and borrow arrows!

    26.The wind is sluggish and the water is cold, and you have to pay back the money you owe!

    Where to eat? I have no money.

    B: Let's go down to the restaurant, I'll ask --- water pipe.

    28.See if there is something that should have fallen?

    29.I have a green dragon on the left and a Mickey Mouse tattoo on my waist.

    If you don't take revenge, it's hard to swallow this evil breath.

    B: So how can you choke your breath?

    31.There is a road in the book mountain to be clean first, and the eight treasures of the endless sea are used as porridge.

    32.The world is ours and the sons, but ultimately the grandchildren.

    Did you do your homework?

    B: Sit! Oh, it's still hot under the p-shares. Do you want it? That's up to you.

    34.Who sits in the village today, he doesn't even wipe the blackboard!

    35.How much do these shoes cost a pound?

    36.I was really blind in the first place.

    37.Is this blind man a blind man?

  12. Anonymous users2024-01-29

    stu[0].score is correct, stu is an array, stu[0] is a structure, and stu[0].score has access to structure members.

    2.(b)* is incorrect because* will be resolved to * (and p is a struct pointer and should be used (*p).)num to access the fabric member.

  13. Anonymous users2024-01-28

    D for the first and B for the second

  14. Anonymous users2024-01-27

    1."Are you a braincase? You okay? Still stupid? ”

    2."Haven't you turned it on yet?! Or has it been too long since you used 360 Antivirus? Sentences can often be used in combination.

    3."The 21st century is all about 'humanity', but why do I think your coming is the most inhumane thing? ”

    4."Niu'er, I don't think you should step on it (referring to space), your tonnage can trample several Saturn ......”

    Remember, remember!! The highest level of swearing is not to carry a dirty word. Because scolding people in uncivilized language is not handsome or strong, but I think you are very bottomless.

  15. Anonymous users2024-01-26

    Hitting is love, scolding is love.

    Don't be nostalgic, brother is just a legend.

    Even if you have a crush on me, there's no need to use this way to get my attention to you.

  16. Anonymous users2024-01-25

    line1: defines the standard input and output header file

    line2: defines maxlen as 80

    line3: main function

    line4: Define a string with a length of 80

    line5: When the input character is not "", K increments by one.

    line6: From the first letter of the string"0"

    I'm going to class, and I'll help you translate when I have time.

  17. Anonymous users2024-01-24

    i is used to control the array subscript of a in the transfer of data a to c, always a[i] is passed to c[k].

    j is used to control the array subscript of b in the transfer of data b to c, always b[j] is passed to c[k].

    The condition of the while loop indicates that the loop continues when the data element being passed to C is less than the total number of data in A and B.

    if(j>=n) means that when the total amount of data passed to c in b reaches the total number of data in array b, that is, when all the data in array b has been passed to c, only the remaining data in a can be passed to c.

    Otherwise, when J=M, that is, whether all the data in A has entered the C array, if i>=M indicates that all the data in Group A has entered C, then the remaining data in Group B can be directly sent to C.

    Only when j additionally, the virtual machine group on the product**, super cheap.

  18. Anonymous users2024-01-23

    The essence is the ...... used by teachers of bad taste to disgust you

    Well, I've got you covered:

    It mainly depends on whether it comes before or after the variable.

    The first meaning is that after z=z+(-x)+(y+1), the variable x=x+1, y=y+1 (note that ++ is after -x and before y).

    The second one is simpler than the first, see for yourself.

    The second problem is the simple output function, which can be understood after flipping through the book, and it is better to understand it yourself.

  19. Anonymous users2024-01-22

    This kind of problem is most suitable for self-study, and you can know it as soon as you try it on the computer. And you can make a variety of combinations, and you will receive a great reward.

Related questions
7 answers2024-05-04

if(!a) x--;Meaning: if (!.)a) If true, execute x--。 Now 0 like a and 0 in c is false. So (!.)a)=true。So execute x--; >>>More

9 answers2024-05-04

The original meaning of the question is to implement the function of one queue with two stacks. >>>More

8 answers2024-05-04

n!is the factorial of n, and its mathematical meaning is n!=1*2*3*4*..The NC language implementation is as follows: (the program is debugged in the Turboc environment) int factorial(int n). >>>More

8 answers2024-05-04

int a,b,c;

scanf("%d%d",&a,&b);Enter a, bc=a+b; Add the two numbers to c >>>More

5 answers2024-05-04

int max(float fx,float fy)float fz;

fz=fx>fy?fx:fy; >>>More