Pages
Home
For beginners
Download C++ Books
Solution manual C++ How to program
Download C/C++ Compiler
Tricky Questions in C++
Ask Your Question
Cricket Scores
Know Islam
Contact us
Need a project done?
C++ Programming Developer
Search This Blog
Static C++
Static C++:
//What will be its output?
#include <iostream>
using namespace std;
f();
void main(){
f();
f();
f();
}
f(){
static a = 0;
cout << a++ << ' ';
}
1 comment:
Anonymous
18 September 2013 at 11:50
0, 1, 2
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
"Don't let anyone ever make you feel like you don't deserve what you
want
."
0, 1, 2
ReplyDelete