Обсуждения
#include <iostream>
using namespace std;
int calc(int &a,int &b,int c=6)
{
a+=b;
b-=c;
c=a+b;
}
int main()
{
int calc(int,int,int);
int x=2,y=3,z=4; cout<<x<<endl<<y<<endl<<z<<endl;
calc(x,y,z); cout<<x<<endl<<y<<endl<<z<<endl;
calc(5,6,z); cout<<x<<endl<<y<<endl<<z<<endl;
return 0;
}
1 голос
5 ответовHow do I use { in the textbox in c#?
0 голосов
1 ответАктуальное сегодня
Anyone Learning Godot?
1 Votes
hello world i need help
2 Votes
help string permutation
0 Votes
hi
1 Votes