What is meaning of "Void main" in C Language.
Answer Posted / sonali panda
The main function does not return any information to the
operating system.
| Is This Answer Correct ? | 187 Yes | 61 No |
Post New Answer View All Answers
What is the difference between array_name and &array_name?
What is a pointer on a pointer in c programming language?
Can we access array using pointer in c language?
What is the difference between array and structure in c?
If I have a char * variable pointing to the name of a function ..
Explain what are the different data types in c?
What's the difference between constant char *p and char * constant p?
What are pointers? What are different types of pointers?
Is javascript based on c?
Tell me what are bitwise shift operators?
Can we initialize extern variable in c?
Explain the properties of union. What is the size of a union variable
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.
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above