f()
{
int a=2;
f1(a++);
}
f1(int c)
{
printf("%d", c);
}
c=?
Answer Posted / viji
a++ is postfix operator so it first assigns its values and
then incremented. In above statement the value of a is first
assigned to c and then increment. so the output of c is 2;
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can include files be nested? How many levels deep can include files be nested?
Explain what’s a signal? Explain what do I use signals for?
about c language
Can 'this' pointer by used in the constructor?
Write a program to print factorial of given number using recursion?
C language questions for civil engineering
Explain union. What are its advantages?
Explain what are preprocessor directives?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
How are variables declared in c?
Why is %d used 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?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
What is void c?
Why does this code crash?