C Program To Print Multiplication Table Using Function

preview_player
Показать описание

Lets write a C program to print the multiplication table for a user input number, using function/method. The table should get displayed in the following format:

Example: Multiplication table of 5
5 x 1 = 5
5 x 2 = 10
5 x 3 = 15
5 x 4 = 20
5 x 5 = 25
5 x 6 = 30
5 x 7 = 35
5 x 8 = 40
5 x 9 = 45
5 x 10 = 50

C Programming Interview / Viva Q&A List

C Programming: Beginner To Advance To Expert
Рекомендации по теме
Комментарии
Автор

What is mean by %d x %d = %d/n
OK I searched and found that it is an output format.
For example %d x %d = %d mean digit x digit = digit? I hope I'm right, just started learning C

light
Автор

Write a function called separator ' in C++ language which prints 15 *s in a single line . Write another function named multiples ' that takes an integer as an argument and prints its multiples up to ten terms separated by spaces, in a single line

akshaykumar-qoyd
Автор

which function is this call by value or call by method?

sarthaklambaa
Автор

shouldn't the function be the first then after it the main function. and can explain why the first prototype before main has ( ; ) but the second prototype after the main doesn't have ( ; )

sixihili
Автор

Sir from where u got " ×" button

sarveshkhorjuvekar