What does == mean in C language?
There is a relational operation in C language operator, == is one of the relational operators, and its main function is used to judge statements. The meaning of
== is to determine whether they are equal. A level-based program flow that executes the next step of the program if the two values are equal.
Example: if(a==b)
Determine whether a and b are equal. If a is equal to b, then the if statement is established and the following is run. program.
#if has only two judgment results, true and false. If true, it will be executed, if false, it will be interrupted.
if(a==b){ pintf("output\n"); }else{ pintf("intput\n"); }
Very simple if two-way selection.
The program execution result is shown in the figure below.
Recommended tutorial: "C Language"
The above is the detailed content of What does == mean in c language?. For more information, please follow other related articles on the PHP Chinese website!