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
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.
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What is a pointer variable in c language?
Explain function?
What is file in c language?
What is meant by preprocessor in c?
Explain is it better to bitshift a value than to multiply by 2?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
How will you write a code for accessing the length of an array without assigning it to another variable?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
Where is volatile variable stored?
write an algorithm to display a square matrix.
When should we use pointers in a c program?
What is the purpose of the preprocessor directive error?