print the table 5 in loops
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Do pointers need to be initialized?
Where is c used?
for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????
please give me some tips for the placement in the TCS.
change to postfix a/(b+c*d-e)
N O S I E R + A S T R A L ---------------- 7 2 5 6 1 3
Difference Between embedded software and soft ware?
What are the different types of C instructions?
Can main () be called recursively?
what is the stackpointer
why we use "include" word before calling the header file. is there any special name for that include??????
Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All