what is difference between getchar,putchar functions and
printf and scanf function? does putchar show output only
when input given to it

Answer Posted / akash kumar

getchar() reads one character from the "standard input",which is usually the user's keyboard. the syntax of the getchar() function is written as: character variable=getchar(). putchar() read's one character from the " standard output", which is usually the user's keyboard. the syntax of the putchar() function is written as : putchar ( character variable ). printf print the text , scanf reads the input ..... 

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you call a function, given its name as a string?

724


What is dynamic memory allocation?

820


Explain how can I manipulate strings of multibyte characters?

792


Is c# a good language?

616


Is c weakly typed?

585






This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

740


What is modifier & how many types of modifiers available in c?

616


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1335


Is file a keyword in c?

514


What are formal parameters?

669


Is main is a keyword in c?

618


What is the code for 3 questions and answer check in VisualBasic.Net?

1698


what are bit fields? What is the use of bit fields in a structure declaration?

1508


to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?

1579


What is bubble sort technique in c?

600