HOW TO SWAP TWO NOS IN ONE STEP?

Answer Posted / z

Trick question: the phrase "one step" is undefined.
Example: how many steps are there in the following statement?
a = ++b;

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is sizeof () an operator and not a function?

589


Write a code of a general series where the next element is the sum of last k terms.

596


What is spaghetti programming?

670


What is sorting in c plus plus?

565


Tell me with an example the self-referential structure?

566






Explain what are the different data types in c?

761


What are disadvantages of C language.

649


Is fortran faster than c?

582


Explain continue keyword in c

587


What is the use of volatile?

610


Where we use clrscr in c?

708


Why static is used in c?

622


What is binary tree in c?

623


int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

657


Write a program to check palindrome number in c programming?

601