Relative Content

Tag Archive for strings

Regex to String generation

Let’s say that we have a regex and an index i. If we suppose that the set of strings that match our regex are sorted in a lexicographical order, how could we get the i element of this list?

Regex to String generation

Let’s say that we have a regex and an index i. If we suppose that the set of strings that match our regex are sorted in a lexicographical order, how could we get the i element of this list?

Assigning strings to pointer in C

My question is about pointers in C. As far as I’ve learned and searched, pointers can only store addresses of other variables, but cannot store the actual values (like integers or characters). But in the code below the char pointer c actually storing a string. It executes without errors and give the output as ‘name’.

Assigning strings to pointer in C

My question is about pointers in C. As far as I’ve learned and searched, pointers can only store addresses of other variables, but cannot store the actual values (like integers or characters). But in the code below the char pointer c actually storing a string. It executes without errors and give the output as ‘name’.

Assigning strings to pointer in C

My question is about pointers in C. As far as I’ve learned and searched, pointers can only store addresses of other variables, but cannot store the actual values (like integers or characters). But in the code below the char pointer c actually storing a string. It executes without errors and give the output as ‘name’.

Assigning strings to pointer in C

My question is about pointers in C. As far as I’ve learned and searched, pointers can only store addresses of other variables, but cannot store the actual values (like integers or characters). But in the code below the char pointer c actually storing a string. It executes without errors and give the output as ‘name’.

Assigning strings to pointer in C

My question is about pointers in C. As far as I’ve learned and searched, pointers can only store addresses of other variables, but cannot store the actual values (like integers or characters). But in the code below the char pointer c actually storing a string. It executes without errors and give the output as ‘name’.