What are snippets in c? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are snippets in c?

Explain me about snippets and their purpose.

2nd Feb 2019, 1:14 PM
Abhishek Kudlur
1 Answer
+ 1
Snippets are small pieces of code. They aren't real program. They just explain a certain concept or give an example of how to use a function. This is a snippet if ( 5 < 10 ) printf( "Five is now less than ten, that's a big surprise" );
3rd Feb 2019, 9:30 PM
sneeze
sneeze - avatar