Out of these two:
printf("abc\n");
and
std::cout << "abc\n";
I know the correct way to code is to use the cout line. But does the program differ from an assembly/machine code perspective? (like, one is faster, or smaller in size?) Or do both give an identical program output?