In a recent interview, I was asked to identify the error in the following code:
int main()
{
printf("hello world");
return 0;
}
#include <stdio.h>
I said ‘no error’ and the output will be displayed I referred to this resource, but I still need help I’m having trouble with this problem. Does anyone have any ideas on how to approach it? I left out the angular brackets on purpose, so please don’t worry about it.
1 post - 1 participant