long int size
a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes
Answer Posted / gopi nath
Yes its obsolutely depend upon the the compiler.
turbo compiler in c environment it takes 4 bytes
but in unix environment it takes 8 bytes.......
| Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
Compare array data type to pointer data type
How do I create a directory? How do I remove a directory (and its contents)?
Why c language?
Why is c called c not d or e?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Hai what is the different types of versions and their differences
Why do we use header files in c?
Why is c still so popular?
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 is break in c?
What is the use of getchar() function?
What is the use of typedef in c?
Explain how can a program be made to print the line number where an error occurs?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
largest Of three Number using without if condition?