print the table 5 in loops

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c not oop?

533


Explain bit masking in c?

633


Explain the ternary tree?

595


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

637


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

557






int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

647


What should malloc() do?

639


What happens if a header file is included twice?

584


What is sizeof array?

604


How will you find a duplicate number in a array without negating the nos ?

1637


What does %p mean?

586


How many header files are in c?

547


What are near, far and huge pointers?

641


What is the difference between malloc() and calloc()?

611


What is external variable in c?

605