chillermiller
Mitglied
Ich möchte fragen,ob hier irgendwo ein Fehler liegt:
#include<stdio.h>
#include<conio.h>
int main ()
{
int a= -25;
printf("Wert der Variable a wird als Positive Zahl behandelt:%u.",a);
getch();
return 0;
}
Ich will nähmlich die Zahl -25 als eine Positive Zahl Umwandeln aber sobald ich compiliere
zeigt mir Der Compiler ein ganze andere Zahl und zwar :4294967271
#include<stdio.h>
#include<conio.h>
int main ()
{
int a= -25;
printf("Wert der Variable a wird als Positive Zahl behandelt:%u.",a);
getch();
return 0;
}
Ich will nähmlich die Zahl -25 als eine Positive Zahl Umwandeln aber sobald ich compiliere
zeigt mir Der Compiler ein ganze andere Zahl und zwar :4294967271
Zuletzt bearbeitet: