Can you think of a way when a program crashed before
reaching main? If yes how?
Answer Posted / sunil
The global variables get initialized by the c startup
functions before the main function is being called.
Hence any error in global variables will cause a crash
before reaching the main.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is calloc in c?
What is the correct code to have following output in c using nested for loop?
What is the use of static variable in c?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What does 2n 4c mean?
What is non linear data structure in c?
How do we open a binary file in Read/Write mode in C?
Does sprintf put null character?
What does the format %10.2 mean when included in a printf statement?
Lists the benefits of c programming language?
What is bubble sort in c?
Explain how do you determine the length of a string value that was stored in a variable?
What is logical error?
Why c is called a middle level language?
What does typeof return in c?