example :
char fruits[][12] = { "apple" , "orange" , "mango" , "banana" , "pineapple" };
I wanted to store the 2nd index value to a separate variable x
.
x = "mango"
, for further operation on string "mango"
.
Source: Windows Questions C++
example :
char fruits[][12] = { "apple" , "orange" , "mango" , "banana" , "pineapple" };
I wanted to store the 2nd index value to a separate variable x
.
x = "mango"
, for further operation on string "mango"
.
Source: Windows Questions C++