what is difference between null and nul in c language
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / amar singh rajput
NULL is an pointer with value zero (0) ,and NUL is an character with integer value 0 (zero) .
| Is This Answer Correct ? | 0 Yes | 0 No |
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
How can you read a directory in a C program?
Which one would you prefer - a macro or a function?
What are the advantages of c language?
What is difference between function overloading and operator overloading?
How can I call a function with an argument list built up at run time?
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
a program that can input number of records and can view it again the record
What is difference between scanf and gets?
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.
Write a program to print “hello world” without using semicolon?
what is the difference between getch() and getche()?