the given code does not run in linux mint isodara.
on typing
in terminal it gives
wat to do ........
the above code runs in windows turbo c 3.0
the code is as follows
on typing
cc pg206[G](c).cin terminal it gives
bash: syntax error near unexpected token `('wat to do ........
the above code runs in windows turbo c 3.0
the code is as follows
Code:
#include<stdio.h>
void fun(int *,int *);
void main()
{
int i=5,j=2;
fun(&i,&j);
printf("\n%d %d",i,j);
}
void fun(int *i,int *j)
{
*i=*i**i;
*j=*j**j;
}
Comment