Some Undefined behaviour of C
Find Output :
1. int i = 5;
printf("%d" , i++ * ++i);
2. int a[5] ,i = 1;
a[i] = ++;
These terms are undefined in C, compilers may generate the output of these sort of terms but always remember to answer such question 'unfined means not defined'
Find Output :
1. int i = 5;
printf("%d" , i++ * ++i);
2. int a[5] ,i = 1;
a[i] = ++;
These terms are undefined in C, compilers may generate the output of these sort of terms but always remember to answer such question 'unfined means not defined'