Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <sys/socket.h>
- #include <string>
- using namespace std;
- string repeat(int count, string word) {
- int repeated = 1;
- while (repeated < count) {
- word = word + word;
- repeated++;
- }
- return word;
- }
- int Lenght(int ar) {
- return sizeof(ar);
- }
- class VkApi {
- int i() {
- return 1;
- }
- };
- int main() {
- int arr[] = {1,2,3,4,5};
- cout << Lenght(arr) << endl;
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement