My study summary

xiaoxiao2021-03-06  51

I have been learning C language has been half a year. The C language is the first language I have contacted. My attitude I feel more satisfied. The flexibility of C is always listening to others. After such a long study, I finally have a little bit of experience. Example: Compare two numbers method 1: if ... ELSE statement SWAP (A, B, C) {IF a> B c = a; if a = b printf ("data err"); ELSE C = B; } Method 2: San Function SWAP (A, B0 {RETURN SWAP = A> B? A: B}

The same function is performed on the code, but how do they difference?

转载请注明原文地址:https://www.9cbs.com/read-82914.html

New Post(0)