answersLogoWhite

0

What else can I help you with?

Related Questions

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

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


How do you read input buffer of keyboard using C?

scanf();


Why do you use scanf in c?

To read input from standard input.


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


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............


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


Which function is used to read data from the console?

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


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

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


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.


What new characters are needed in new moon?

Not to many. Why don't you read the book and find out?


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.