[ create a new paste ] login | about

Link: http://codepad.org/QtjzqWf8    [ raw code | fork ]

C, pasted on May 2:
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>

int main()
{
    int n;
    scanf("%d", &n);
    int a[n];
    a[2] = n;
    printf("%d\n", a[2]);
    return 0;
}


Create a new paste based on this one


Comments: