Answer Posted / ashutosh
the use of fflush(stdin) is to clear the input buffer bcoz when ever we take an input the space is allocated to it but after its scope gets over, the input is removed but the space allocated is as it is. it can be used only by using headerfile
#include<stdio.h>
| Is This Answer Correct ? | 60 Yes | 10 No |
Post New Answer View All Answers
Is multithreading possible in c?
What is union and structure?
What are the various types of control structures in programming?
what are the advantages of a macro over a function?
What are different types of pointers?
What is break statement?
What are the difference between a free-standing and a hosted environment?
What is the difference between near, far and huge pointers?
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
What is call by reference in functions?
What is c system32 taskhostw exe?
Why c is called a mid level programming language?
Explain what is the stack?
How to find a missed value, if you want to store 100 values in a 99 sized array?
Explain how can I right-justify a string?