Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

converter c para c++ online

#include <stdio.h>
#include <stdlib.h>

int main (void){
	int vetor [2];
	int *v; // ponteiro
	v = vetor;
	v[0] = 123;
	v[1] = 456;
	printf ("vetor[0] = %d
", vetor[0]);
	printf ("vetor[1] = %d

", vetor[1]);
	system ("pause");
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #converter #para #online
ADD COMMENT
Topic
Name
8+9 =