0

Why first it prints garbage value

#include<stdio.h> int main() { int arr[5], i=0; while(i<5) arr[i]=++i; for(i=0; i<5; i++) printf("%d, ", arr[i]); return 0; }

31st Jul 2019, 4:07 PM
Shaik Abeedh
Shaik Abeedh - avatar
1 Resposta
0
Please make this a code and then post it, so we can execute it directly.
31st Jul 2019, 5:17 PM
Loeschzwerg