Computer Science, asked by onlineexams000, 15 days ago

#include void main() { unsigned int x = -5; printf("%d", x); }

Why is the output -5?

Answers

Answered by agentdevprobs
1
the output is -5 because the variable x is assigned the value of -5 and printf command says to print the value of x i.e -5
Similar questions