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
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
Why doesnt that code work?
Explain what is the difference between the expression '++a' and 'a++'?
What library is sizeof in c?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
Can you think of a logic behind the game minesweeper.
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
Explain pointers in c programming?
Explain how can you be sure that a program follows the ansi c standard?
How can you convert integers to binary or hexadecimal?
Do pointers store the address of value or the actual value of a variable?
What is the difference between printf and scanf )?
What math functions are available for integers? For floating point?
How many data structures are there in c?