#include<iostream>
void swap(int* x, int* x){
(*x)^=(*y)^=(*x)^=(*y);
}
int main()
{
int a, b;
a=10;
b=20;
std::cout<<"Before swap: a="<<a<<", b="<<b<<std::endl;
swap(&a,&b);
std::cout<<"After swap: a="<<a<<", b="<<b<<std::endl;
return(0);
}
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
Use list assignment i.e. for two variables $a, $b: ($a,$b) = ($b,$a)
This is not a question.
There is no gotoxy statement in C.
write a vb program to find the magic square
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
To swap two variables without using a third variable, use exclusive or manipulation... a ^= b; b ^= a; a ^= b;
#include<
a=a^b; b=a^b; a=a^b;
Use list assignment i.e. for two variables $a, $b: ($a,$b) = ($b,$a)
give an example of calculation of mathematics
This is not a question.
not possible dude
dim a input a
There will be a function in it like this: double RectangleArea (double a, double b) { return a*b; }
Into the source program.
Use text-editor notepad++