Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip> //Bliclioteca de espaçao setw()
- #include <winsock2.h>
- #include <stdlib.h>
- #include <fstream>
- #include <windows.h>
- #include <ctime>
- #include <string>
- using namespace std;
- void number(int [],int );
- int main(){
- const int a =2;
- int c[a] = {'a','b'};
- number(c,a); // C Arrays; A quantidade de elementos;
- for(int i=0;i<a;){
- i++;
- c[i];
- }
- system("pause");
- return 0;
- }
- void number (int a[],int c){
- for (int i =0;i<c;){
- i++;
- cout<<a[i]<<endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement