f(x,y,z)
{
y = y+1;
z = z+x;
}
main()
{
int a,b;
a = 2
b = 2;
f(a+b,a,a);
print a;
}
what is the value of 'a' printed
Answer Posted / ravi
no change in value of a.
i.e,a = 2 only .
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
Write a program to print all permutations of a given string.
Explain what is the concatenation operator?
What is the acronym for ansi?
What do you mean by scope of a variable in c?
What header files do I need in order to define the standard library functions I use?
What is s or c?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What is the difference between %d and %i?
Are the variables argc and argv are always local to main?
Which is the memory area not included in C program? give the reason
What is a scope resolution operator in c?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
What are keywords c?
Is there a way to switch on strings?