Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  dsf
Language: C/C++
Code:
#include <iostream>

unsigned int id = 0;

unsigned int content_ID(unsigned int& start)
{
     start++;
     return start;
}

int main()
{
     std::cout << id << std::endl;
     unsigned int a = content_ID(id);
     std::cout << id << std::endl;
     std::cout << a << std::endl;     
     return 0;
}
Comments: