.


:




:

































 

 

 

 


Putchar(c1); putch(c2);




Printf(_, _);

C_ , - , . _ : , ; , (ESC ); .

:

% [-][ ][.][l L] _

[-] , , ; [ ] ; [.] , , , ; l L long, double, long double.

:

% c char, int, short ;

% d char, int, short 10- ();

% u 10- ;

% o 8- ;

% x 16- ;

% ld long int 10- ;

% lo long int 8- ;

% lx long int 16- ;

% f float;

% e float ;

% lf doubl;

% le doubl ;

% Lf long double;

% Le long double ;

% s ;

% p .

:

Scanf(_, _);

_ , . _ .

scanf() , < Enter > .

int a; float b; char ; char st[20];

scanf("%d %f %c %s",&a,&b,&c,st);

printf("a=%d, b=%f, c=%c st=%s \n",a,b,c,st);

getchar(), getch(), getche(), putchar(), putch().

Char c1,2,3;

c1=getchar(); c2=getch(); c3=getche();

putchar(c1); putch(c2);

gets(), puts().

char st1[20]; gets(st1); puts(st1);

ESC- ( ). , . ESC- ( ), .

\n ;

\t ;

\a ();

\' ;

\" ;

\\ ;

\? .

ifelse :

if() _1 else _2

, _1, _2. - , 0, . :

if(x>y) {max=x; min=y;}

else {max=y; min=x;}

, else _2. .

- switch . :





:


: 2015-10-01; !; : 316 |


:

:

, , .
==> ...

2016 - | 1679 -


© 2015-2024 lektsii.org - -

: 0.014 .