P
Pranav
#include<stdio.h>
int main()
{
typedef int R1;
typedef int R2;
typedef long int R3;
unsigned R1 n1;
long R2 n2;
R3 n3;
n1=123456789;
n2=123456789;
n3=123456789;
printf("%u..%d\n",n1,sizeof(n1));
printf("%ld..%d\n",n2,sizeof(n2));
printf("%ld..%d\n",n3,sizeof(n3));
return 0;
}
Getting Following Errors..,
Teast2.c syntax error before "n1"
Teast2.c syntax error before "n2"
Teast2.c `n1' undeclared (first use in this function)
Teast2.c `n2' undeclared (first use in this function)
int main()
{
typedef int R1;
typedef int R2;
typedef long int R3;
unsigned R1 n1;
long R2 n2;
R3 n3;
n1=123456789;
n2=123456789;
n3=123456789;
printf("%u..%d\n",n1,sizeof(n1));
printf("%ld..%d\n",n2,sizeof(n2));
printf("%ld..%d\n",n3,sizeof(n3));
return 0;
}
Getting Following Errors..,
Teast2.c syntax error before "n1"
Teast2.c syntax error before "n2"
Teast2.c `n1' undeclared (first use in this function)
Teast2.c `n2' undeclared (first use in this function)