e-con Systems Interview Question

swap a word from a sentence with C programming programs on memory allocation and structs