What do you mean by %o
% o is a micrometer, and the number in front represents thousands.

In computer programming, micrometer (modulus) sometimes stands for finding the remainder. See the following C++ program:

# include & ltiostream & gt

Use namespace std

int main()

{short q =10% 3; //Output the remainder of 10 divided by 3.

cout & lt& ltq;

System ("suspended"); }

This program is passed in Dev Cpp4.9, and the program finally outputs 1, that is, the remainder of 10 divided by 3.

It is particularly important to note that in C programming, the functions on both sides of% should be integers.

There is also the function of converting characters.

%% Print unconverted percentage symbols.

%c integers are converted into corresponding ASCII characters.

%d Integer to Decimal.

Numbers with an accuracy of %f times are converted to floating-point numbers.

%o Integer to Octal.

%s Integer to String.

%x integer to lowercase hexadecimal.

%X integer to uppercase hexadecimal.

Extended data:

% d integer output,% ld long integer output,% o integer output as octal number,% x integer output as hexadecimal number,

% u Output unsigned data as decimal number (unsigned number). % c is used to output characters and% s is used to output strings.

% f is used to output real numbers in decimal form,% e outputs real numbers in exponential form,% g automatically selects F format or E format according to the size, and does not output meaningless zeros.