I have this code:
#include \"stdafx.h\" #include typedef struct{ int s1; int s2; char c1; char* arr; }inner_struc; int _tmain
inner_struct.arr is declared as char *, which means it holds an array of characters (bytes). Do you want an array to hold the numbers 1, 2, 3? If so, use int. If you want letters, initialize the array with:
char arr[3] = { 'a', 'b', 'c' };
KC