HOW TO SWAP TWO NOS IN ONE STEP?

Answer Posted / ashik

#define SWAP(x,y) int t;t=x;x=y;y=t;

Is This Answer Correct ?    2 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

813


Explain what are the advantages and disadvantages of a heap?

597


Differentiate fundamental data types and derived data types in C.

618


What is #include cctype?

580


Write a Program to accept different goods with the number, price and date of purchase and display them

5450






Explain union. What are its advantages?

619


about c language

1606


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1186


What is "Hungarian Notation"?

637


What are the c keywords?

750


Write a program to generate the Fibinocci Series

667


What are qualifiers and modifiers c?

549


What is the general form of a C program?

598


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

585


code for quick sort?

1622