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
Give the rules for variable declaration?
What is typedef example?
Explain the difference between ++u and u++?
How old is c programming language?
What is the difference between c and python?
Explain what are header files and explain what are its uses in c programming?
Is struct oop?
Define macros.
how to capitalise first letter of each word in a given string?
What are derived data types in c?
Explain what is gets() function?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What is the g value paradox?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
Why is c called c?