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
What is function prototype in c with example?
What are nested functions in c?
Is sizeof a keyword in c?
Does sprintf put null character?
What is a macro in c preprocessor?
Why structure is used in c?
Where static variables are stored in c?
Explain what is the benefit of using const for declaring constants?
What are inbuilt functions in c?
Why & is used in scanf in c?
Is c procedural or functional?
Explain what is the benefit of using #define to declare a constant?
How can I read data from data files with particular formats?
How many data structures are there in c?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?