Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does printf (_("hello, world\n")) mean? [duplicate]

Tags:

People also ask

What does %% mean in printf?

% indicates a format escape sequence used for formatting the variables passed to printf() . So you have to escape it to print the % character.

What is use of \n in C?

The newline character ( \n ) is called an escape sequence, and it forces the cursor to change its position to the beginning of the next line on the screen. This results in a new line.

What is the meaning of %[ n?

%[^\n] is an edit conversion code used to read strings.


What's the role of the _("hello, world\n") argument to printf/puts etc ? I often find it while reading GNU source code.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!