This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstring> | |
int main (int argc, char ** argv) { | |
char name[] = {"rentne"}; | |
char * a = &name[0]; // set to first letter in name | |
char * b = &name[sizeof(name)-2]; // set to last letter in name |