Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write a program to produce the following output:
1
2
3
4
5
6
7
8
9
10

Answers were Sorted based on User's Feedback



Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10..

Answer / bilal

guys how about the question write a program toprint

1
2 3
4 5 6

Is This Answer Correct ?    26 Yes 3 No

Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10..

Answer / 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

Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10..

Answer / sagarraje nimbalkar

// using If else

#include<stdio.h>
#include<conio.h>
void main()
{
int i=1;
while(i<=10)
{
printf("\n%d",i);
i++;
}
}

Is This Answer Correct ?    13 Yes 4 No

Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10..

Answer / jjh

0
1 0 1
2 1 0 1 2
3 2 1 0 1 2 3
4 3 2 1 0 1 2 3 4
5 4 3 2 1 0 1 2 3 4 5

Is This Answer Correct ?    8 Yes 6 No

Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10..

Answer / nazar hussain khan

#include"stdio.h"
#include"conio.h"
void main(void)
{
clrscr();
int a,
for(i=1;i<=10;i++)
{
printf("%d",i);
}
printf("\n");
getch();
}

Is This Answer Correct ?    3 Yes 2 No

Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10..

Answer / guest

#include<stdioh>
#include<conio.h>
void main()
{
int i;
for(i=0;i<=10;i++)
{
printf("%d",i);
}
}

Is This Answer Correct ?    8 Yes 14 No

Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10..

Answer / 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

Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10..

Answer / kelly baby

Hello dear new friend,
my name is Kelly i read your profile and i decided to
contact you hopping that you will accept me as your friend,
please if you accept my request reply my true my email
address (kellybaby004@yahoo.in) so that i will send you my
picture and tell you more about me, do not late far
decadence be a barrier let love cornet because love is
abridge cornet far decadence to be lose.
yours kelly

Is This Answer Correct ?    5 Yes 14 No

Post New Answer

More C Interview Questions

Is there a way to switch on strings?

0 Answers  


what wud be the output? main() { char *str[]={ "MANISH" "KUMAR" "CHOUDHARY" }; printf("\nstring1=%s",str[0]); printf("\nstring2=%s",str[1]); printf("\nstring3=%s",str[2]); a)string1=Manish string2=Kumar string3=Choudhary b)string1=Manish string2=Manish string3=Manish c)string1=Manish Kumar Choudhary string2=(null) string3=(null) d)Compiler error

9 Answers   Infosys,


for (i <= 5 && i >= -1;++i; i > 0) { printf("%d ", i); }

1 Answers  


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

0 Answers  


What is main void in c?

1 Answers  


Write a C program where input is: "My name is xyz". output is: "xyz is name My".

1 Answers   TCS,


wt is diference between int and int pointer as same as float and float pointer and char and char pointer

8 Answers   CTS, Infosys,


Can a program have two main functions?

0 Answers  


can we write a c program with out using main

3 Answers  


What is the difference between void main and main in c?

0 Answers  


Do you know the difference between exit() and _exit() function in c?

0 Answers  


Explain setjmp()?

0 Answers  


Categories