How to write a program for swapping two strings without
using 3rd variable and without using string functions.
Answer Posted / sri
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 ? | 33 Yes | 42 No |
Post New Answer View All Answers
How can you pass an array to a function by value?
regarding pointers concept
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
How does pointer work in c?
What is the use of pointers in C?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What is variable in c example?
What are conditional operators in C?
Explain how can I write functions that take a variable number of arguments?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
What are the types of data structures in c?
What are the scope of static variables?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
When should you use a type cast?
What is difference between Structure and Unions?