Advertisement
3_2004-2005 Miscellaneous #146937

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

Yapay Zeka Özeti: 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.

Kaynak Kod
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"))
		{}
	
	}
}
Orijinal Yorumlar (3)
Wayback Machine'den kurtarıldı