what is the use of fflush() function?
Answers were Sorted based on User's Feedback
Answer / kamini
the fflush() function is useed for remove the garbage value
of keyboard.
Is This Answer Correct ? | 15 Yes | 5 No |
Answer / varun sahu
the fflush() function is used to remove garbage which is present in the buffer.
Is This Answer Correct ? | 12 Yes | 2 No |
What is equivalent to ++i+++j?
You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.
What should malloc(0) do?
how to write a program which adds two numbers without using semicolon in c
#define d 10+10 main() { printf("%d",d*d); }
What is the significance of scope resolution operator?
0 Answers Agilent, ZS Associates,
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
What is sorting in c plus plus?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Explain what are header files and explain what are its uses in c programming?
6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1
Explain the use of keyword 'register' with respect to variables.