Write a program to produce the following output:
1
2
3
4
5
6
7
8
9
10
Answer Posted / munna
#include<stdio.h>
#include<conio.h>
void main()
{
int i=0;
for(i=0;i<=10;i++)
{
printf("the required numbers are:%d",i);
}
getch();
}
Is This Answer Correct ? | 3 Yes | 9 No |
Post New Answer View All Answers
Why is c known as a mother language?
What is the scope of an external variable in c?
How is actual parameter different from the formal parameter?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is string in c language?
What is the process to generate random numbers in c programming language?
How can I manipulate strings of multibyte characters?
Explain what are global variables and explain how do you declare them?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
How can you pass an array to a function by value?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
What is the description for syntax errors?
Explain what is a static function?
Hi can anyone tell what is a start up code?
What is zero based addressing?