which will return integer?
a) int*s ( )
b) ( int* ) s( )
c) int ( *s ) ( )
Answer / chandu
c) int (*s)()
s is pointer to a function which returns integer
| Is This Answer Correct ? | 10 Yes | 0 No |
what is the function of pragma directive in c?
write c program to display output 10(10+20)+(10+20+30)+ ... n term
0 Answers Hindustan Gum Chemicals,
what is the definition of storage classes?
How many types of operator or there in c?
What is c definition?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What is a char in c?
from which concept of 'c', the static member function of 'c++' has came?
How to declare pointer variables?
Explain the Difference between the New and Malloc keyword.
Explain what will the preprocessor do for a program?
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.