How to swap two values using a single variable ?
condition: Not to use Array and Pointer ?
Answer Posted / vignesh1988i
GOOD MORNING,
swapping itself means that there must be minimum 2
variables ... if there is the way for above , that one is
not called as swapping......
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
Describe how arrays can be passed to a user defined function
How does struct work in c?
Why shouldn’t I start variable names with underscores?
Explain low-order bytes.
How many levels of indirection in pointers can you have in a single declaration?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What is the use of ?
What are compound statements?
What is function prototype?
What is the difference between Printf(..) and sprint(...) ?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What are header files and explain what are its uses in c programming?
What is structure of c program?
What are run-time errors?
How can I run c program?