Aptitude (12) ASP.NET (2) Automata (4) Browser (1) C (5) C# (1) C++ (10) Code (3) CSS (1) Data Structure (1) DATABASE (3) HTML (1) java (43) JSP (1) math (1) MySql (8) other (6) php (3) Servlet (3)

Tuesday, 21 May 2013

By default “int” is return keyword of main function and Print semicolon without using semicon



#include<stdio.h>
#include<conio.h>
 main()
{
printf("hello");
}

By default “int” is return keyword of main function.
……………………………
Print semicolon without using semicon
#include <stdio.h>
#include <conio.h>
void main()
{
if(printf("%c",59))
{
}
}

No comments:

Post a Comment