but im getting different outputs in turbo c and pelles c
the code in pelles c is:
#include<stdio.h>
int main()
{
int a=10,b=20;
a=(a+B)/>-(b=a);
printf("%d%d",a,B)/>;
}
output: 10 10
code in tc is
#include<stdio.h>
#include<conio.h>
int main()
{
int a=10,b=20;
clrscr();
a=(a+B)/>-(b=a);
printf("%d %d",a,B)/>;
getch();
}
output 20 10
please dont
This post has been edited by theju112: 09 September 2011 - 08:51 AM

New Topic/Question
Reply



MultiQuote






|