menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
What is the output of the following program? #include using namespace std; void dosomething(int&; int main( { int x = 2; cout << x << endl; dosomething(x; cout << x << endl; return 0; } void dosomething(int& num { num = 0; cout << num << endl; }?
asked
May 11, 2018
144k
views
1
vote
What is the output of the following program? #include using namespace std; void dosomething(int&; int main( { int x = 2; cout << x << endl; dosomething(x; cout << x << endl; return 0; } void dosomething(int& num { num = 0; cout << num << endl; }?
Computers and Technology
high-school
Carisa
asked
by
Carisa
7.2k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
2
votes
The code provided has numerous errors and I cannot decipher it. Please clarify, or if this is the actual code, the output would be a bunch of errors.
Savita
answered
May 15, 2018
by
Savita
7.6k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
8.3m
questions
10.9m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Explain why binary codes are used to represent characters, numbers and symbols :)
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org