two variables are added answer is stored on not for third
variable how it is possible?
Answers were Sorted based on User's Feedback
Answer / mannucse
with the help of 2way mechine instuctions,its possible
ex:
strcat(s1,s2)
means s1=s1+s2,
or else
a+=b means a=a+b.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ruchi
#include<stdio.h>
#include<conio.h>
int main()
{
int x=10,y=15;
x = x+y;
printf("%d",x);
getch();
}
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sujith
I am afraid i understood the question. If the question is
defined like, u need to exchange two variables without using
a temporary variable is,
a += b;
b = a - b;
a = a - b;
Another methos is ,
a ^= b ^= a ^= b;
| Is This Answer Correct ? | 2 Yes | 0 No |
Write a c program to enter a string of paragraph and replacing a particular word which is repeated in the paragraph by another word?
2 Answers ME, Synfusion, Wipro,
please send me the code for multiplying sparse matrix using c
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
void main() { int a=1; while(a++<=1) while(a++<=2); }
write an algorithm and a program to count the number of elements in a circularly singly linked list
How can I find out how much memory is available?
What are the loops in c?
while initialization of array why we use a[][2] why not a[2][]...?
sir, i cannot find the way how to write aprogram by using array on queue
write a c program to convert fahrenheit to celsius?
What are local and global variables?
Explain how can I write functions that take a variable number of arguments?