Answer Posted / monisha
#include<stdio.h>
#include<conio.h>
void main();
{
int n;
printf("Enter the number",n);
scanf("%d",&n);
for (i=1;i<=n;n+2)
printf("%d",i());
getch();
}
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is a floating point in c?
What is difference between far and near pointers?
What is methods in c?
What is the meaning of typedef struct in c?
What is the correct code to have following output in c using nested for loop?
Do you know what are bitwise shift operators in c programming?
What are the types of i/o functions?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What is pointers in c with example?
What is c mainly used for?
How can I find out the size of a file, prior to reading it in?
what do u mean by Direct access files? then can u explain about Direct Access Files?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
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 will be maximum number of comparisons when number of elements are given?