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 |
What is advantage of pointer in c?
write a program that will accept two integers and will implement division without using the division operator if the second value is an odd number and will implement multiplication without using multiplication operator if the second value is an even number.
what is the value of b if a=5; b=++a + ++a
31 Answers Infosys, TCS, Tech Mahindra,
#define swap1(a,b) a=a+b;b=a-b;a=a-b; main() { int x=5,y=10; swap1(x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a,int b) { int temp; temp=a; b=a; a=temp; return; } what are the outputs?
What are disadvantages of C language.
int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?
Write a program to show the change in position of a cursor using c
can any one tell that i have a variable which is declared as static but i want this variable to be visible to the other files? how?
please send me papers for Dy. manager IT , PNB. it would be a great help for me.
what is the return value (status code) of exit() function.... what the arguments(integer value) passed to it means....
In scanf h is used for
Explain what is the use of a semicolon (;) at the end of every program statement?