: indicates the result choice of judgment in language, so the programming logic is to judge first and then make a choice. For example, when a>b, x= 1 or x=0, it can be written as x = a >;; b? 1:0。
In the field of programming, C language is widely used, which takes into account the advantages of high-level language and assembly language, and has great advantages compared with other programming languages. Computer system design and application program design are two major fields of C language application.
Development history
C language was born in bell laboratory and developed by dennis ritchie on the basis of B language designed by ken Thompson.
After its main design was completed, Thompson and Richie used it to completely rewrite UNIX, and with the development of UNIX, C language has been continuously improved.
In order to popularize C language in an all-round way, many experts, scholars and hardware manufacturers jointly formed the C language standard committee, and the first complete C standard, abbreviated as "C89" or "ANSI C", was born in the subsequent 1989. By 2020, the latest C language standard is "C 65438+" published in June 2008.