In which mode we open the file for read,write and append
also in c ?
a)W
b)w+
c)r+
d)a
Answers were Sorted based on User's Feedback
Is fortran faster than c?
while running a program, i got the msg that press return key to exit.what that mean in C as there are no such options as far i know.
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
What is the sizeof () a pointer?
Write a C program to count the number of email on text
What are the 4 types of programming language?
i want to know the procedure of qualcomm for getting a job through offcampus
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 a wrapper function in c?
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }
Explain what is wrong in this statement?
Explain is it better to bitshift a value than to multiply by 2?