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


Please Help Members By Posting Answers For Below Questions

What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1306


Can a pointer be null?

565


Why header files are used?

646


Lists the benefits of c programming language?

598


Which is best linux os?

565






What are inbuilt functions in c?

560


What are linked lists in c?

651


What is strcpy() function?

657


What is meant by type specifiers?

660


Define and explain about ! Operator?

615


given post order,in order construct the corresponding binary tree

2323


Differentiate abs() function from fabs() function.

597


What is dynamic variable in c?

567


What's the difference between constant char *p and char * constant p?

659


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.

2652