Q&A Discussions
What does int mean?
0 Votes
5 Answersabout int and void
0 Votes
5 AnswersC++ int to string code
4 Votes
4 AnswersPrint int in c
0 Votes
3 AnswersConvert int to string ?
6 Votes
2 AnswersHow to divide int by 3.5
0 Votes
11 Answers#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 Vote
5 AnswersInt object not callable
0 Votes
2 AnswersRandom Int in java
0 Votes
2 AnswersWhat is new int ?
0 Votes
5 AnswersWhat is int ?
3 Votes
2 AnswersWhy double and not int
-1 Vote
5 AnswersPython Int And Str
1 Vote
2 AnswersConverting var to int
0 Votes
4 AnswersHot today
Pig Latin
0 Votes
Someone can help me
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
I’m new someone can help me
0 Votes
Recursion doubt
2 Votes