why ordinary variable store the later value not the initial
Answer Posted / sandeep
When Ordinary variable's value changed after initialisation
it's memory will filled with the new value
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between pure virtual function and virtual function?
how can I convert a string to a number?
What are structural members?
What is a static variable in c?
What are extern variables in c?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is a dynamic array in c?
Explain how do you print an address?
Why is c platform dependent?
What is the hardest programming language?
Why is main function so important?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
Do array subscripts always start with zero?
What is the benefit of using #define to declare a constant?
What is calloc()?