answersLogoWhite

0


Best Answer

You can have a function with no parameters.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the smallest number of formal parameters that can be included in a function definition in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Smallest element in an electronic image?

a pixel is the smallest element in an electronic image


Write a c program to find smallest among three using function with pointers?

Please visit http://talentsealed.blogspot.com/2009/10/to-find-smallest-among-three-using.htmlfor answer.


What are the smallest and the largest integer values for primitive type short?

The smallest value is -32,768 and the maximum is 32,767


Write a program that randomly fills a 10 component array then prints the largest and smallest values in the array?

final double[] ns = new double[10]; final Random rnd = new Random(System.currentTimeMillis()); // Fill... for (int i = 0; i < ns.length; ++i) { ns[i] = rnd.nextDouble(); } // Get largest/smallest... double largest = Double.MIN_VALUE; double smallest = Double.MAX_VALUE; for (double n : ns) { if (n > largest) { largest = n; } if (n < smallest) { smallest = n; } } // largest and smallest are now the proper values.


Ascending and descending order in HTML javascript?

You have the sort() method of Javascript arrays:---var a = [1,2,10,11];a.sort(); // gives [1, 10, 11, 2]---The default sort is lexicographic, sorting the values as strings.For numbers and descending sort, you can pass in a function:---function sortNum(a, b) {return a - b;}function sortDesc(a, b) {return b - a;}a.sort(sortNum); // gives [1, 2, 10, 11]a.sort(sortDesc); // gives [11, 10, 2, 1]---The function takes two arguments, and returns a negative number if the first element is smallest, a positive number if the first element is largest, and zero if they are equal.See related link.

Related questions

What is the smallest number of formal parameters that can be included in a function definition?

1


Which is the smallest of the four h-parameters of transistor?

hf


When you're examining a piston's diameter where on the piston would you find the smallest diameter?

depends on your definition of "smallest" depends on your definition of "smallest"


What is the definition of molecule?

Molecules are the smallest particles of a substance.


What is a minimum function?

The minimum function is the function that takes two arguments and returns the smallest of the two. Alternatively the function can take any finite amount of arguments and return the smallest.


Does The SMALL function formula displays the smallest number contained in the range?

The SMALL function can display the smallest, but it can also do things like select the second smallest or the third smallest for example. Which position is determined by the second argument. So if you wanted to get the third smallest value in the range from B6 to D12, the function would be: =SMALL(B6:D12,3)


What the definition of molecules?

Molecules are the smallest particles of a substance.


What are the smallest units thst carry on the functions of life?

the smallest function of life are cells.


A statistical function that determines the smallest value in a group of values?

MIN function


Why is Luxembourg not included in the smallest country?

Luxembourg is one of the smallest (7th smallest in Europe) countries in Europe because it's size is not as big as others.


Is Mars the 3rd smallest planet?

No, it's the second smallest. Venus is the 3rd smallest. The information that Mars is the third smallest may have come from an out of date source that included Pluto as a planet.


What is the definition of minimun?

smallest amount needed...check dictionary.com