PIC16: How does one enter sleep mode using C?
You can use this macro:

SLEEP();  



  This macro is used to put the device into a low-power standby mode.


If you search for the definition of SLEEP() in the header files, you'll find:

#define SLEEP()     asm("sleep")


asm(); is a statement which allows you to inline assembly instructions into your C code.