what is purpose of fflush(stdin) function
Answers were Sorted based on User's Feedback
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 |
Answer / revathi pawar
to clear the thngs which r stored in memory..
the disadv s that we cant c the clearance of data
| Is This Answer Correct ? | 8 Yes | 12 No |
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Can i use “int” data type to store the value 32768? Why?
What is void main () in c?
main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }
When a c file is executed there are many files that are automatically opened what are they files?
What are the different types of endless loops?
What is the purpose of main() function?
Write a program to swap two numbers without using third variable?
How to explain the final year project as a fresher please answer with sample project
Should I learn data structures in c or python?
What is difference between class and structure?
How many levels deep can include files be nested?