Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~948 People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for gretty

I am a newbie as well , so check carefully. I slightly modified your code and it seems to work well: #include <iostream> #include <string> using namespace std; void check_odd(int& n); //checks if n is an even or odd number then does syracuse fucntion int main() { int n; cout …

Member Avatar for Shabtai
0
536
Member Avatar for Shabtai

The following is a statement from a program on linked lists given to us in class. I do not understand why I have to add & for address when what is passed is a pointer which means it is passed by reference.: void CharNode::headInsert(CharNode* &head, char *d) { head = …

Member Avatar for siddhant3s
0
412

The End.