What is the purpose of Scanf Print, getchar, putchar,
function?
Answers were Sorted based on User's Feedback
Answer / vignesh1988i
scanf() is used to get the input from the user using the compailer.
printf() is used to output the messages given by the user in the output screen
getchar() is used to get a single character from the user.....
putchar() is used to output a single character and echo's in the output screen
Is This Answer Correct ? | 94 Yes | 7 No |
Answer / bhushan deshmukh
C language is procedural language. It contain's system
function for I/O, These function useing in Input and
Output....
1. Scanf :- function using for formated input.. with
showing some formated output message...
2. Printf :- Function using for display formated output on
console...
3. Getchar() :- using for Get a only one character at one
time...
4. Putchar() :- Using for a single character without
formated...
Is This Answer Correct ? | 40 Yes | 6 No |
Answer / kumutha
sacnf()- input data can be entered into the computer using
the standard input'c' library function........
printf()- output data or result of an operation can be
displayed from the computer to a standard output device
using the library function........
getchar()- single character can be given to the computer
using 'c' input library function........
putchar()- used to display one character at a time on the
standard output device.........
Is This Answer Correct ? | 29 Yes | 3 No |
How to compare array with pointer in c?
Why doesnt long int work?
What is the deal on sprintf_s return value?
Differentiate call by value and call by reference?
Write a program to know whether the input number is an armstrong number.
Write a program which take a integer from user and tell whether the given variable is squar of some number or not. eg: is this number is 1,4,9,16... or not
2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }
what is ram?
what is the purpose of the code, and is there any problem with it. unsigned int v[10]; unsigned int i = 0; while (i < 10) v[i] = i++;
Why is it important to memset a variable, immediately after allocating memory to it ?
Explain the ternary tree?
Explain how does flowchart help in writing a program?