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


Please Help Members By Posting Answers For Below Questions

Why is c known as a mother language?

734


What is the scope of an external variable in c?

561


How is actual parameter different from the formal parameter?

583


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

625


What is string in c language?

615






What is the process to generate random numbers in c programming language?

601


How can I manipulate strings of multibyte characters?

629


Explain what are global variables and explain how do you declare them?

633


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)

1617


How can you pass an array to a function by value?

593


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

3829


What is the description for syntax errors?

604


Explain what is a static function?

626


Hi can anyone tell what is a start up code?

1604


What is zero based addressing?

698