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
How does free() know explain how much memory to release?
Explain how can I pad a string to a known length?
Write a program on swapping (100, 50)
What is data structure in c language?
Do pointers need to be initialized?
Explain how can you check to see whether a symbol is defined?
Why do we write return 0 in c?
Can an array be an Ivalue?
What is the size of structure in c?
What is difference between array and pointer in c?
Difference between MAC vs. IP Addressing
What is the purpose of the preprocessor directive error?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
How can I read data from data files with particular formats?