answersLogoWhite

0


Best Answer

what is a program x and y

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a c program that will exchange the values of x and y after the statement executed x is equal to y and y is equal to x?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the use of INPUT statement?

Input command is used to enter the values while the program is being executed. this command waits for the user to enter the information and then assigns the values accordingly.


What is values statement of KFC?

Value statement


Should a company's core values be in their mission statement?

Yes, a company's core values should be in their mission statement


What is the difference between ternary operators and if-else statement?

ternary is a single statement operator while even the most primary form of if else contains an if and an else statement. ternary only returns a value but if else can be used to do a lot of other things like printing, assigning values or just returning true or false.


What is the format of if statement in c plus plus?

Syntax:if (expression)statement;[elsestatement;]The expression must evaluate to a boolean value, where zero is false and all non-zero values are true. The statement (including the optional else statement) may be simple or compound, and may include a nested if statement. When the expression evaluates true, the first statement is invoked. If an else statement is provided, it is only executed when the expression evaluates false. After the appropriate statement is invoked, execution passes to the statement that immediately follows the entire if statement.


What is a formal statement of an organization's primary values and the ethical rules its employees to follow?

A mission statement is a formal statement of an organization's primary values and the ethical rules its employees follow.


What is the Algorithm for exchanging values of two variables?

There are three primary algorithms to exchange the values of two variables. Exchange with Temporary Variable temp = a; a = b; b = temp; Exchange Without Temporary Variable Using Exclusive Or a = a ^ b; b = b ^ a; a = a ^ b; Exchange Without Temporary Variable Using Arithmetic a = a + b; b = b - a; a = a - b;


Which of these indicates that a statement is an opinion values key points discoveries synonyms?

Values


What is the for loop in c plus plus?

In C, also in C++, the for loop executes zero or more times, until the test expression is false...for (init-expression; test-expression; loop-expression) statement;/* init-expression executed once, at beginning *//* statement executes zero or more times, until test-expression is false, test first *//* loop-expression evaluated at end of each iteration */


Where and how do you get beta values for Indian companies?

Look up Bombay Stock Exchange www.bseindia.com and Nantional Stock Exchange www.nseindia.com for beta values of Indian companies.


What is a statement of two equivalent values?

An equation.


What is a statement that two values are not equal?

An inequality