Posts by Lucas linard • 11 points
2 posts
-
0
votes0
answers64
viewsQ: Problem with overflow in c, my variable bursts
This code is used to add two binary numbers and write the result but in the output this appears: warning: overflow in conversion from 'long long int' to 'long int' changes value from '10100101010'…
casked Lucas linard 11 -
0
votes1
answer48
viewsQ: How do I make the code read a new value if the condition is not met? - C
The code is this, it’s in C #include <stdio.h> int main(void){ int i; printf("digite um inteiro"); scanf("%d",&i); while(i>=1){ printf("%d\n",i); i=i-1; } } But I want you to enter an…