Skip to content
Snippets Groups Projects
Select Git revision
  • 4d2059daba2896f1852f175de03cf5cd7bdc9253
  • main default protected
2 results

01-projections.ipynb

Blame
  • pointers-01.c 175 B
    #include <stdio.h>
    
    void calc_answer (int *a)
    {
      *a = 42;
    }
    
    int main (void)
    {
      int answer;
      calc_answer (&answer);
      printf ("The answer is %d.\n", answer);
      return 0;
    }