Skip to content

Instantly share code, notes, and snippets.

View evilprince2009's full-sized avatar
Working from home

Ibne Nahian evilprince2009

Working from home
View GitHub Profile
evilprince2009 / main.c
Created December 3, 2021 16:52
Reverse string in C
// Program is divided into two smaller parts so you can see how the
// things actually work.
#include <stdio.h>
int strlen(char *s)
int i = 0;
while (*s++)
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />