Since I know nothing about bitfields I don't know what value to assign it but you can give it a value by going
#include <iostream>
#include <conio.h>
#define K 3
using namespace std;
int main()
{
struct test
{
char testa:6;
char textb:10;
}testvar[2][K];
//I put in 111 as the value but it just gives me some ascii character
testvar[0][K].testa = 111;
cout << testvar[0][K].testa << endl;
getch();
return 0;
}