what is difference between getchar,putchar functions and
printf and scanf function? does putchar show output only
when input given to it
Answer Posted / jeevi
getchar is used to get only one character.. putchar is used
to print only one character.
printf can print more than one character,we can get more
than one variable by using scanf.
| Is This Answer Correct ? | 47 Yes | 11 No |
Post New Answer View All Answers
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
Is using exit() the same as using return?
Can we use any name in place of argv and argc as command line arguments?
How do c compilers work?
How can I implement a delay, or time a users response, with sub-second resolution?
What is calloc in c?
Explain threaded binary trees?
write a programming in c to find the sum of all elements in an array through function.
How can type-insensitive macros be created?
shorting algorithmS
explain what is fifo?
What is the use of define in c?
Explain what is the benefit of using an enum rather than a #define constant?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
Compare interpreters and compilers.