README.md
December 4, 2022 ยท View on GitHub
Description
Please, rate this code, Your vote - our motivation by Shantanu Bansal
This is a tricky c/c++ program or code to help writting a program without using (;) semicolon.
In this example, program will print a line without using semicolon.
Help mail:
More Info
| Submitted On | |
| By | Shantanu Bansal |
| Level | Intermediate |
| User Rating | 3.4 (75 globes from 22 users) |
| Compatibility | C, C++ (general), Borland C++, UNIX C++ |
| Category | Miscellaneous |
| World | C / C++ |
| Archive File |
Source Code
/* c/c++ tricky code */
/* Author - Shantanu Bansal */
/* for any type of assistance mail me at shantanubansal@indiatimes.com, shantanubansal@hotmail.com*/
/*
This is a tricky c/c++ code to help writting a program without using semicolon.
In this example, program will print a line without using semicolon.
*/
# include<stdio.h>
# include<conio.h>
void main()
{
if ( printf("Program without semicolon\n"))
{
if ( printf("successful"))
{}
}
else
{
if ( printf("Failure"))
{}
}
}