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...


print the table 5 in loops

Answers were Sorted based on User's Feedback



print the table 5 in loops..

Answer / kiran

{
int n = 5;
for(i=1;i<=10;i++)
printf("
%d x %d = %d",n,i,n*i);
}

Is This Answer Correct ?    6 Yes 0 No

print the table 5 in loops..

Answer / tushar patil

#include<stdio.h>
#include<conio.h>
main()
{

int a=5,i;
printf("TABLE OF 5");
printf("

");

for(i=1;i<=10;i++)
{
printf("%d ",i*a);
}

getch();
}

Is This Answer Correct ?    3 Yes 1 No

print the table 5 in loops..

Answer / mazahar

#include<stdio.h>
main()
{
int i,n=5;
for(i=0;i<=10;i++)
printf("%d*%d=%d",n,i,n*i);
}

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

convert 12345 to 54321 withoutusing strig

5 Answers  


What are nested functions in c?

0 Answers  


what is C?

9 Answers   Syntel,


Explain what is wrong with this program statement?

0 Answers  


what are brk, sbrk?

1 Answers   Oracle,


Explain how does flowchart help in writing a program?

0 Answers  


What is stack in c?

0 Answers  


In which layer of the network datastructure format change is done

0 Answers   Honeywell,


Does * p ++ increment p or what it points to?

0 Answers  


What are dangling pointers? How are dangling pointers different from memory leaks?

1 Answers  


while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?

4 Answers   Aptech,


What is main void in c?

1 Answers  


Categories