Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 3. Is het volgende programma correct? Zo ja, wat is de output wanneer het wordt uitgevoerd? Zo nee, waarom niet?
- #include <iostream>
- int main() {
- char a[] = "12345";
- for(char *b = a; *b != 0; b++) {
- cout << b - &a[0] << endl;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment