for some reason it works this way?

This commit is contained in:
kevinnls committed 2021-09-20 02:42:01 +05:30
1 parent f6b854a90b
commit 621c51d037
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ int main(){
DEBUG = !strcmp(_debug,"1"); DEBUG = !strcmp(_debug,"1");
//how does this even work??? //how does this even work???
int arr[] = {1,2,3,6,5}; int arr[] = {1,2,3,5,4};
int arr_len = sizeof(arr) / sizeof(arr[0]); int arr_len = sizeof(arr) / sizeof(arr[0]);
sort(arr, arr_len); sort(arr, arr_len);
printf("\n"); printf("\n");