+ 1
Why this code has an error? (Code below) Please help!! đ„ș
#include <stdio.h> int main() { int a[] = {1,2,3,4}; int *b = a[1:2]; printf("%d", sizeof(b)); return 0; } I am not getting that why this code has an error?
3 Answers
#include <stdio.h> int main() { int a[] = {1,2,3,4}; int *b = a[1:2]; printf("%d", sizeof(b)); return 0; } I am not getting that why this code has an error?