Answer Posted / nashiinformaticssolutions
A dangling pointer points to memory that has been deallocated. Accessing it causes undefined behavior.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it better to use a macro or a function?
Can you assign a different address to an array tag?
What is the equivalent code of the following statement in WHILE LOOP format?
What are called c variables?
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.
How many levels deep can include files be nested?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
Differentiate between null and void pointers.
How to declare pointer variables?
What is indirection? How many levels of pointers can you have?
How can I determine whether a machines byte order is big-endian or little-endian?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
When should the const modifier be used?
Why is void main used?
How does #define work?