<resume> you mentioned you created a database in Java, what kind of database? how was it implemented?
<resume> you mentioned you created a board game in C++, how was it implemented? tell me about the data structure/inheritance? How do you make one function inherit from another one in C++?
in the following:
#include <iostream>
using namespace std;
void foo(int x);
int a = 1;
int main()
{
int c = 10;
foo(a);
foo(c);
cout << a << endl;
cout << c << endl;
}
void foo(int x){
x++;
}
what is the final value of a and b? why? if not changed, how do you modify the code so the value changes by after calling foo()? Java vs C++?