An option which isn't a valid technique to create a function stub is to: D. leave the function body empty.
A function stub can be defined as a type of function that can be called safely without an error. However, a function stub has no definition because it doesn't actually perform any action when called.
In this context, leaving the function body empty is an option which isn't a valid technique to create a function stub.
Read more on function stub here: https://brainly.com/question/17214711
#SPJ1