1,004 views

2 Answers

2 votes
2 votes

'scanf' returns the number of items successfully read

so 

3

-1-2-3

0 votes
0 votes
Answer will be: 3   (By printf("%d",scanf("%c%c%c",&x,&y,&z);)

                           -1- -2  (By printf("\n-%c-%c-%c",x,y,z);)

Related questions

279
views
1 answers
0 votes
Rustam Ali asked Aug 24, 2018
279 views
371
views
3 answers
0 votes
Rustam Ali asked Aug 24, 2018
371 views
1.3k
views
1 answers
0 votes
Rustam Ali asked Aug 24, 2018
1,345 views
529
views
0 answers
1 votes
Rustam Ali asked Aug 23, 2018
529 views
What are the correct options?