[#BloombergLP-bdlcc-SkipList_RandomLevelGenerator-randomLevel]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList_RandomLevelGenerator.adoc[SkipList&lowbar;RandomLevelGenerator]::randomLevel
:relfileprefix: ../../../
:mrdocs:

Return a random integer between 0 and k&lowbar;MAX&lowbar;LEVEL&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;skiplist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
randomLevel();
----

== Return Value

random integer between 0 and `k&lowbar;MAX&lowbar;LEVEL`


[.small]#Created with https://www.mrdocs.com[MrDocs]#
