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 |
pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
How would you obtain the current time and difference between two times?
In CMM or CMMI certified organizations,we assess only the standard software processes of the organization. We do not assess the organizations other functional departments like HR or Admin. Then how can we certify the entire organization as CMM level company?? We have assessed only software related activities. Right. There is no relation with other departments like Accounts, HR or Admin. Then how can we claim that the whole company is a CMM certified company?
Why should I prototype a function?
how to swap two integers 1 and 32767 without using third variable
for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????
Explain how can I manipulate strings of multibyte characters?
Describe the order of precedence with regards to operators in C.
how to find anagram without using string functions using only loops in c programming
count the numbers between 100 and 300, that star with 2 and ends with 2
Explain threaded binary trees?