Explain the use of fflush() function?
What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }
Explain what is wrong in this statement?
12344321 123 321 12 21 1 1 how i print this program??
5 Answers DSR Management, Winit,
What is volatile, register definition in C
Write a c program to read a positive number and display it in words.? ex: 123=one two three help me....
How can you avoid including a header more than once?
What are file streams?
what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these
How many levels of pointers have?
When is a null pointer used?
Can we change the value of #define in c?
Can a void pointer point to a function?