what is difference between null and nul in c language

Answer Posted / xsoft

null this is a key word in C language but the nul this
keyword used in dos Programming as you can you use it in C
programming with the function system("dir ./a>nul");
then when can consider this nul as an output.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

2644


What are the two forms of #include directive?

640


what is the basis for selection of arrays or pointers as data structure in a program

3784


How does sizeof know array size?

620


What is floating point constants?

685






Write programs for String Reversal & Palindrome check

594


What is the difference between void main and main in c?

621


How can you find the exact size of a data type in c?

597


What is identifiers in c with examples?

672


What are identifiers c?

560


What is the process of writing the null pointer?

605


What is integer constants?

615


Explain union.

633


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

3839


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

651