answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How many characters can be read by scanf?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which function used to read characters into an array specified by its parameter?

Examples: recv, read, fread, gets, fgets, scanf, fscanf


Why do you use scanf in c?

To read input from standard input.


How do you read input buffer of keyboard using C?

scanf();


What is the syntax of scanf?

scanf: scanf is a built-in function to read input from the user.


Define the role of printf and scanf in c language?

to write and read the values


Read characters up to 100 into an array?

define the array lets say main() { int x[100]; for (int i=0;i<x;i++) scanf("%d",&x[i]); } this way ull scan 100 characters if that is what you mean...if you need to print them a similar printf loop can be made


What does printf and scanf return?

Printf returned no. of character receive . scanf return no of variable to be inputed according to format specifier . eg: i=printf("thisisc") printf("%d",i); //i=7 j=scanf("dd",&a,&b,&c,&d); printf("%d",j); IT IS MOST APPROPRIATE ANSWER FOR THIS Q .......... PLZ DO Practically............


Can you use getchar instead of scanf in a c program?

They do different things, read the manual/help for details.


Which function is used to read data from the console?

The scanf() function in the <stdio.h> C standard library header.


What are the limitations of getchar and scanf functions for strings?

cause getchar only read a character and scanf read only word before first space but not other words and letters.


What of characters are important in the story?

The question is unclear. Many things about characters are important in a story. If the characters are not believable, the reader won't care about them, and won't read the story.


Where you use percent c and percent s in c language?

%c and %s are format characters used for input and output. These are mainly used in scanf and printf statements. %c is used for characters while %s is used for strings. For input, it is used to specify the type of the value to be read while for output, it is used to specify the type of the value to be printed.