main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
what is the output?
Answer Posted / s.srinivasulu
Answer:
x=57
y=94
Is This Answer Correct ? | 14 Yes | 6 No |
Post New Answer View All Answers
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Can a pointer be null?
Why header files are used?
Lists the benefits of c programming language?
Which is best linux os?
What are inbuilt functions in c?
What are linked lists in c?
What is strcpy() function?
What is meant by type specifiers?
Define and explain about ! Operator?
given post order,in order construct the corresponding binary tree
Differentiate abs() function from fabs() function.
What is dynamic variable in c?
What's the difference between constant char *p and char * constant p?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.