Explain this code.
#include <stdio.h>
void f1(int *k)
{
*k = *k + 10;
}
main ( ){
int i;
i = 0;
printf (" The value of i before call %d \n", i);
f1 (&i);
printf (" The value of i after call %d \n", i);
}
Answer Posted / pooja agarwal
10
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
How can I write functions that take a variable number of arguments?
What is volatile c?
List a few unconditional control statement in c.
Write a program to generate the Fibinocci Series
What are the advantages of using new operator as compared to the function malloc ()?
How to declare a variable?
In which language linux is written?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What is the difference between far and near ?
What is the newline escape sequence?
How can I open files mentioned on the command line, and parse option flags?
What is mean by data types in c?
pierrot's divisor program using c or c++ code
What is difference between arrays and pointers?
Write a program to print factorial of given number without using recursion?