Category: C


#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum;
printf(“Enter 2 nos for Substraction\n”);
clrscr();
scanf(“%d%d”,&a,&b);
sum=a+~b+1;
printf(“%d”,sum);
getch();
}

C program without semi colon

#include<stdio.h>
void main()
{
if(printf(“Hello World..”)){}
}

Follow

Get every new post delivered to your Inbox.