Dynamic Memory Allocation - Example
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#define LNG1 (6)
#define LNG2 (7)
void string_manipulation(char *s, char (*chr_mnp)(char))
{
while (*s != ‘\0’) { *s = chr_mnp(*s); s++; } return;}
Previous slide
Next slide
Back to first slide
View graphic version