Sign in
third-party-mirror
/
GRTEv4
/
cf41cedf52c87cf4f27c61e4eb8444ecb811ab13
/
.
/
google3
/
third_party
/
grte
/
v4_src
/
glibc-2.19
/
stdio-common
/
scanf12.c
blob: db37e2fedc930265cbe238685a2576b98293e0b2 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
int
main
(
void
)
{
double
d
;
int
c
;
if
(
scanf
(
"%lg"
,
&
d
)
!=
0
)
{
printf
(
"scanf didn't failed\n"
);
exit
(
1
);
}
c
=
getchar
();
if
(
c
!=
' '
)
{
printf
(
"c is `%c', not ` '\n"
,
c
);
exit
(
1
);
}
return
0
;
}