Which of the following are valid "include" formats?
A)#include and #include[file.h]
B)#include (file.h) and #include
C)#include [file.h] and #include "file.h"
D)#include <file.h> and #include "file.h"
Answer Posted / rakshitha
Ans is D.. that is #include<file.h> and #include "file.h"
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
write a program to print largest number of each row of a 2D array
What is volatile keyword in c?
What is getch?
Explain about block scope in c?
Write a program to check prime number in c programming?
How to write a code for reverse of string without using string functions?
In a byte, what is the maximum decimal number that you can accommodate?
What are the complete rules for header file searching?
while initialization of array why we use a[][2] why not a[2][]...?
What is difference between class and structure?
Explain About fork()?
Explain continue keyword in c
Explain how do you determine the length of a string value that was stored in a variable?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
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.