I am relatively new to C.
Was solving a question and was hit with this line of code.
So why is x printing the size of the string? How exactly does printf work?
#include <stdio.h>
int main()
{
int x;
x = printf("stackoverflow");
printf("Value of x:%d\n", x);
return 0;
}
Output:
13