wt is diference between int and int pointer as same as
float and float pointer and char and char pointer
Answer Posted / vilas soni++
"int" can give it's value, and
we can put any integer value in it directly.
while "pointer" of an integer can give value of an
integer what's address it contain, and
we can not put any integer value in it directly like :
int *p;
p = 65201;
it will give error.......
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is memcpy() function?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Is c is a low level language?
Can a file other than a .h file be included with #include?
What is the scope of global variable in c?
Is r written in c?
What is ## preprocessor operator in c?
How can I open files mentioned on the command line, and parse option flags?
What is the most efficient way to store flag values?
What are the types of assignment statements?
Write a C program to count the number of email on text
Write a Program to find whether the given number or string is palindrome.
When should a type cast be used?
What is linear search?
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.