wat are the two methods for swapping two numbers without
using temp variable??
Answer Posted / abhishek karnani
int a=10,b=5;
a=a+b-(b=a);
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is sizeof array?
Is swift based on c?
Explain what does the format %10.2 mean when included in a printf statement?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
Is main is a keyword in c?
Here is a neat trick for checking whether two strings are equal
Explain argument and its types.
What is structure packing in c?
Explain what is operator promotion?
What is dynamic memory allocation?
What is storage class?
What are the storage classes in C?
What are the types of i/o functions?
Is python a c language?
What is malloc() function?