/*
* C Program to print something without use of semicolon.
* Trick here is - control statements like 'if' expects expression in it.
* The expression can be anything and we can even put printf function instead.
*/
// Include
#include <stdio.h>
int main()
{
// No semicolon used here.
if (printf("Gotcha !!!"))
{
}
}
No comments:
Post a Comment