0
#include<conio.h>
#include<stdio.h>
void main()
{
    int i=0;
    char s[]={"this is string"};
    while(s[i]!=0)
    {
        printf("%c",i[s]);
        i++;
    }
}

This Program does not give error and produce output as "this is string". why..??

BLUEPIXY
  • 39,049
  • 7
  • 31
  • 69
Aviral Ahuja
  • 196
  • 1
  • 1
  • 11

0 Answers0