abh - HTMLify profile

abh's Profile Picture

abh

509 Files

102923 Views

Latest files of /abh/learning/c/BPPL/Phase-1/pointers

swap.c abh/learning/c/BPPL/Phase-1/pointers/swap.c
17 Views
0 Comments
#include <stdio.h>

void swap(int *a, int *b) {
int t;
t = *a;
*a = *b;
*b = t;
}
strlen.c abh/learning/c/BPPL/Phase-1/pointers/strlen.c
6 Views
0 Comments
#include <stdio.h>

int strlen(const char str[]) {
int len = 0;
while (str[len] != NULL) {
len++;
}
return len;