Please see this program

I am not getting the desired output

PHP Code: 
#include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{
    
clrscr();
    
char pass[32], ch;
    
printf("Enter Password : ");
    while(
1)
    {
    
ch=getch();
    if(
ch=='q' || ch=='Q')
    break;
    
putchar('*');
    }
    
printf("\n\n Password is : %s",pass);
    
printf("\n\n Displaying pass is diff way");
    for(
int i=0i<=32i++)
    
printf("%c",pass[i]);
    
getch();

can anyone tell what's the problem

I am getting this output
prateek Reviewed by prateek on . Turbo C | Help Needed Please see this program I am not getting the desired output :( #include<stdio.h> #include<conio.h> #include<string.h> main() { clrscr(); Rating: 5