rendered paste body#include <stdio.h>char ringbuffer[9][9]; //char matrix with size for 10char stringschar myc1 ='h';char myc2 ='w';int nextToPut=0;int nextToGet=0;void put(char c){ int pos=0; if(c!='\0'){ ringbuffer[nextToPut][pos]=c; printf("inlagda elementet i bufferten ar:%s\n",ringbuffer[nextToPut]); pos++; nextToPut++; }} char* get(void){ if(nextToPut==1 && nextToGet==0) nextToGet=1; if((nextToGet>0) && (ringbuffer[nextToGet]!=NULL)){ return ringbuffer[nextToGet]; } else{ return NULL; } }int main(){ char* pChar; put(myc1); pChar=get(); printf("char is:%s\n",pChar);}