0

#include <stdio.h> int main() { char * s="a string"; char *p=s; while(*p++) printf ("%d",(int)(p-s)); return 0; }

How output is 9

24th Dec 2019, 9:44 AM
Somvir Dhaka
Somvir Dhaka - avatar
1 Answer