Matrice

Declarare

Exemplu: float b[10][20] (matrice cu 10 linii numerotate de la 0 la 9, 20 de coloane numerotate de la 0 la 19 cu elemente de tip real);

Declarare+initializare

Exemplu: int c[3][4]={{1,5,7,4},{2,8,9,13},{40,60,90,80}};

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s