What is the purpose of the fflush() function in C?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
fflush() clears the output/input buffer.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
fflush() clears the output/input buffer.vv
| Is This Answer Correct ? | 0 Yes | 0 No |
to find out the reverse digit of a given number
6 Answers Infosys, Microsoft, TCS, Wipro,
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }
What is the real time usage volatile?
Is exit(status) truly equivalent to returning the same status from main?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Do you have any idea how to compare array with pointer in c?
progrem to generate the following series 1 12 123 1234 12345
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
what are threads ? why they are called light weight processes ? what is the relation between process and threads ?
What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }