my pgrm is given below
module test;
int a,b,c;
initial
begin
a = new[5];
b= new[5];
c = new[a.size+b.size];
foreach(a[i])
a[i] = i+5;
foreach(b[i])
b[i] = i+10;
c = a;
how to assign address of c[5] to address of b
c+5 = b; // giving error
c= {a,b}; // giving error
end
in above pgrm base address of a is assigned to base address of c. but now i want address of c[5] should be assigned to base address of b. can i do this?