Advertisement
ASP_Volume3 Miscellaneous #64025

A basic code for program without using semicolon

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: [email protected]

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
/* c/c++ tricky code */
/* Author - Shantanu Bansal */
/* for any type of assistance mail me at [email protected], [email protected]*/
/*
 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"))
		{}
	
	}
}
Original Comments (3)
Recovered from Wayback Machine