πŸ“Š C Programming
Q. What will be the output of following c program?
Code:
int main() { 
unsigned int i=65000; 
while ( i++ != 0 ); 
printf("%d",i); 
return 0; 
}
  • (A) Output: 1
  • (B) Output: 2
  • (C) Output: 0
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) Output: 1

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
186
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Parvesh Kanani
Publisher
πŸ“ˆ
99%
Success Rate