3 ms·
#include<stdio.h> int main() { int array[] = { 1, 2, 3, 4, 5}; int *ptr; ptr = a; ptr++; return 0; } This won't compile, but the
by grimoire_ghost 8y ago
#include<stdio.h>
int main()
{
int array[] = { 1, 2, 3, 4, 5};
int *ptr;
ptr = a;
ptr++;
return 0;
}
This won't compile, but the answer says it should be 2
- hadeon 8y agoThank you, it's fixed now.