print the table 5 in loops

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to print fibonacci series using recursion?

819


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1559


What are nested functions in c?

771


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

871


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

835


Explain what are multidimensional arrays?

821


Which function in C can be used to append a string to another string?

898


‎How to define structures? · ‎

834


Why we use stdio h in c?

783


If the size of int data type is two bytes, what is the range of signed int data type?

786


What is the size of a union variable?

786


Explain how can you be sure that a program follows the ansi c standard?

1124


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

978


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

2058


Define macros.

1019