Write a program to produce the following output:
1
2
3
4
5
6
7
8
9
10
Answer Posted / alish agrwal
#include<stdio.h>
#include<conio.h>
void main()
{ int i;
for(i=1;i<=10;i++)
printf("\n",i);
getch();
}
| Is This Answer Correct ? | 29 Yes | 14 No |
Post New Answer View All Answers
What does %2f mean in c?
What is difference between stdio h and conio h?
What are conditional operators in C?
What is a MAC Address?
What is the difference between far and near ?
How can you allocate arrays or structures bigger than 64K?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
The file stdio.h, what does it contain?
Explain how can you determine the size of an allocated portion of memory?
Is c object oriented?
Why should I use standard library functions instead of writing my own?
What is the difference between fread and fwrite function?
Explain what are the different file extensions involved when programming in c?
How many levels of indirection in pointers can you have in a single declaration?