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 / e-mail
a=2
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Write a program to check prime number in c programming?
write a program to display all prime numbers
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
Is malloc memset faster than calloc?
Explain how do you determine the length of a string value that was stored in a variable?
Write a program to swap two numbers without using a temporary variable?
Why do we need volatile in c?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What is string in c language?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
What is a program flowchart and how does it help in writing a program?
What is meant by preprocessor in c?
What is wrong in this statement? scanf(ā%dā,whatnumber);
What is the use of volatile?
Explain is it better to bitshift a value than to multiply by 2?