Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
double_buffer_madness
#include <stdio.h> #define SIZE 2 void look(const int ptr[SIZE][SIZE]) { printf("\nMeaning: %d", ptr[1][1]); } void modify(int ptr[][SIZE]) { ptr[1][1] = 42; } int main() { int data[SIZE][SIZE]; for (int i = 0; i < SIZE; ++i) { for (int j = 0; j < SIZE; ++j) { data[i][j] = i*j; } } modify(data); look(data); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Prime check
pointer1
date diff sample
funciones matrices
Threads_posix
sum of arrays
session1
Find a Node Sibling Test
ele709 lab 3.4
BSEARCH() COMPLETE
Please log in to post a comment.