How to write a program for swapping two strings without
using 3rd variable and without using string functions.
Answer Posted / srinath, hyd
main()
{
int a=5,b=3;
a=a+b;
b=a-b;
a=a-b;
printf(" %d %d ",a,b);
getch();
}
| Is This Answer Correct ? | 7 Yes | 26 No |
Post New Answer View All Answers
How do you initialize pointer variables?
Explain the process of converting a Tree into a Binary Tree.
What is define c?
Can you think of a logic behind the game minesweeper.
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Explain how can a program be made to print the name of a source file where an error occurs?
Do you know pointer in c?
What is c basic?
What is memory leak in c?
What does the format %10.2 mean when included in a printf statement?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
Why isnt there a numbered, multi-level break statement to break out
Explain how many levels deep can include files be nested?
explain what are pointers?
What are the basic data types associated with c?