KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What will be printed out? 6 6 or 6 7? And why? void foo() { static int x = 5; x++; printf("%d", x); } int main() { foo(); foo(); return 0; }
Tags (comma-separated)
Save Edits
Cancel