to print 1 to 10 numbers using do while loop

Answers were Sorted based on User's Feedback



to print 1 to 10 numbers using do while loop..

Answer / pranav

int i=1;
do
{
printf("%d",i);
i++;
}
while(i<=10);

Is This Answer Correct ?    7 Yes 1 No

to print 1 to 10 numbers using do while loop..

Answer / balamurugan

int i=1;
do
{
printf("%d",i);
i++;
}
while(i<=10);

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Electronics Communications Interview Questions

for linear polarisation antenna how do u measure polarisation?

0 Answers   Bosch,


Explain why fet is known as voltage control device?

0 Answers  


Which is more dangerous AC current or DC current and why?

15 Answers  


Compare the generalized subnetting with VLSM.

0 Answers   Wipro,


can u tell me a simple mini project for electronics ...........i m a beginner

2 Answers  






Hello all, My self Chandra Sekhar.Are there any certifications are there in Embedded Systems. If there, please provide me the details. My Mail ID: chandra_sas@yahoo.co.in

1 Answers  


Explain the use of ranging and radar?

0 Answers  


How to implement an inverter using single transistor?

1 Answers  


Why value of rx level is always negative?

0 Answers   Ericsson,


why dose response of a phototransistor depent upon the wave length of the incident light?

0 Answers  


Iwant the old question paper for J.E(Tele.Signal).

0 Answers   RRB,


What are the advantages and disadvantages of bcd?

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)