C
c
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>
int main() {
unsigned int x= -1;
int y= - 2;
printf("the value x and y %d %d",x,y);
return 0;
}
/* is necessary to use the word unsigned for negative valve ? because the code doesn't show any error when the unsigned word is not used ..
someone please clear my doubt */
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run