Commit d8ed0076 authored by Michael Beck's avatar Michael Beck
Browse files

fixed const

parent 39b5f1b3
#include <stdlib.h>
#include <stdio.h>
static const int *a = (int *)0x10;
static const int *b = (int *)0x20;
static int * const a = (int *)0x10;
static int * const b = (int *)0x20;
int main() {
printf("%p\n", b - a);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment