Hi,
I took 2 exactly same C files, gave a diff name to each
eg. of C code.
main()
{
int i,j,k=0;
for(i=0;i<10;i++)
for(j=0;j<10;j++)
k++;
return 0;
}
now i compiled these with "cc -c" option and compared the obj files with "diff" and "cmp" utilities in linux and i got different answers.
what can be the reason for this?
thanks
I took 2 exactly same C files, gave a diff name to each
eg. of C code.
main()
{
int i,j,k=0;
for(i=0;i<10;i++)
for(j=0;j<10;j++)
k++;
return 0;
}
now i compiled these with "cc -c" option and compared the obj files with "diff" and "cmp" utilities in linux and i got different answers.
what can be the reason for this?
thanks