#include
#include
int
top=0;
int
fun1()
{
char
a[]= {
'a'
,
'b'
,
'c'
,
'('
,
'd'
};
return
a[top++];
}
int
main()
{
char
b[10];
char
ch2;
int
i = 0;
while
(ch2 = fun1() !=
'('
)
{
b[i++] = ch2;
}
printf
(
"%s"
,b);
return
0;
}
abc
3 special characters with ASCII value 1
Empty String
Gửi 5 năm trước