.


:




:

































 

 

 

 





: [][.][E|e-[+]]

" " , . , . "" ( 0 9), E ( e) . ( ) ( ), . , . (E e) . . .

. , (-) . .

double.

:

15.75 1.575E1 1575e-2 -0.0025 -2.5e-3 25E-4

, :

-.125 -.175E-2

: ''

" " (' '). .. . , , . .

"" ( ), ('), (\) (\n). , 2.8.

2.8. ' ' 'a' a '?' '\b' '\x1B' ASCII '\'' '\\'

int . ( " ".)

: ""[""]...

, . , :

"This is f string literal."

"" , . ("), (\) (\", \\ \n). . .

(\n), :

"Enter a number between 1 and 100\nOr press Return"

, , , RETURN. . ,

"Long strings can be bro\ ken into two or more pieces."

"Long strings can be broken into two or more pieces."

, . , printf , :

printf ("This is the first half of the string," " this is the second half");

, :

This is the first half of the string, this is the second half

, . - , , . , , , , . , , , :

char *string = ("This is the first half of the string," " this is the second half"); printf("%s", string);

, :

"First\\Second" "\"Yes", I do,\" she said."

, (, \\ \") .

. ( \0) . , , . , , .

char (char[]). , char. .

: |_[||_]...

"" , , , . , (_), . , 31 . ( , (, ), .)

, . . , . ( "", "".)

, , .

, . " ".

: , . , .

. ( .) , , . .

:

j cnt temp1 top_of_page skip12

, :

add ADD Add aDD

" " , . , . .

:

auto double int struct break else long switch case enum register typedef char extern return union const float short unsigned continue for signed void default goto sizeof volatile do if static while

. , , , (. "").

volatile , - . volatile .

: /* */

"" , , . "" , , " " (*/). , .

, . , . , - , , .

, #if #endif, (. " ").

, :

/* Comments can separate and document lines of programm. */ /* Comments can contain keywords such as for and while. */ /***************************************** Comments can occupy several lines. *****************************************/

. :

/* You cannot /* nest */ comments */

- , */ nest . , .

, "". , .

, elsewhere . else , .

main() { int i = 0; if (i) elsewhere(); }

, elsewhere else where, else where, , else.

, , . , ([]), ({}) (<>), .

, , . , , .

, . - , .

:

i+++j

 





:


: 2016-10-07; !; : 648 |


:

:

, .
==> ...

1573 - | 1355 -


© 2015-2024 lektsii.org - -

: 0.015 .