TO write a C pgm to print "HELLOWORLD" without using semicolon
ANS:
#include < stdio.h>
#include < conio.h>
void main()
{
if(printf("HELLOWORLD"))
{}
}
2]To write a c pgm to add two nos without using airthmetic oper
ANS:
#include < stdio.h>
#include < conio.h>
void main()
{
printf("Enter two nos");
scanf("%d%d",&n,&m);
for(i=1;i<=m;i++)
{
n++;
}
printf("%d",n);
}
ANS:
#include < stdio.h>
#include < conio.h>
void main()
{
if(printf("HELLOWORLD"))
{}
}
2]To write a c pgm to add two nos without using airthmetic oper
ANS:
#include < stdio.h>
#include < conio.h>
void main()
{
printf("Enter two nos");
scanf("%d%d",&n,&m);
for(i=1;i<=m;i++)
{
n++;
}
printf("%d",n);
}