To what value are pointers initialized?
1) NULL
2) Newly allocated memory
3) No action is taken by the compiler to initialize
pointers.
Answer Posted / n
depends:
-if static storage for pointer(pointer itself is a global
variable) => initialized with NULL
-if automatic storage =>no initialization
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is the use of function overloading in C?
Differentiate between new and malloc(), delete and free() ?
What is s in c?
Between macros and functions,which is better to use and why?
What does %d do?
Explain what is the advantage of a random access file?
What is the difference between arrays and pointers?
Explain how can I open a file so that other programs can update it at the same time?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
Why c is faster than c++?
What is the significance of an algorithm to C programming?
What is pivot in c?
What are the types of data files?
What is difference between class and structure?
What are structure types in C?