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 |
What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }
#include<stdio.h> #include<conio.h> int main() { int a[4][4]={{5,7,5,9}, {4,6,3,1}, {2,9,0,6}}; int *p; int (*q)[4]; p=(int*)a; q=a; printf("\n%u%u",p,q); p++; q++; printf("\n%u%u",p,q); getch(); return 0; } what is the meaning of this program?
Why is main function so important?
Explain how can I read and write comma-delimited text?
How to run c Program without using IDE of c. means if program made in notepad.then how to compile by command prompt.
Write a program for Overriding.
write a program to insert an element at the specified position in the given array in c language
Why are algorithms important in c program?
write a programe to find the factorial of given number using recursion
Why do we use c for the speed of light?
how to do in place reversal of a linked list(singly or doubly)?
what is the role you expect in software industry?