c-programming

  1. P

    Question What is the counterpart of this C pointer programme in C#?

    I'd like to know how the following programme on pointer written in C can be written in C#, especially how to use the keywords in the C programme like &i and *p in C#. Please clarify. #include <stdio.h> void f(int *p, int *q) { p = q; *p = 2; } int i = 0, j = 1; int main() {...
Back
Top Bottom