+ 1
Starting point of c code execution
I belive that main function is start point of the C program. I got a problem statement that first line in C code is printf statement inside main function. This statement is just for logging purpose that welcome to code. Now this statement itself is not getting executed. What could be the reason ? I am not able to understand whether it is possible also or not. If yes, what could be the problem?
5 Respuestas
+ 1
assuming that you didn't remove comments from your code or it could be a SL bug unless you tested it on the local machine.
+ 1
It is not something I am facing... This is question I was asked... so got curious whether it is still a case or not at all possible?
+ 1
This was a interview question one of my friend was asked by recruitment panel. So I am not sure whether it actually happens or not.
+ 1
I might inquire how certain is it that the line is not getting executed? Or is it possible that standard output has been redirected so the expected text is not appearing on the console?