New course! Every coder should learn Generative AI!
Try a free lessonQ&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 AnswersWhat is new int in c++
0 Votes
5 AnswersHot today
Help me plss
3 Votes
Android studio emulator
1 Votes
Return function
1 Votes
Can anyone guide me
0 Votes
Internal vs external JS
1 Votes
My question
0 Votes
Wrong?
0 Votes
Putting files in another folder
1 Votes