Question: I need help with this exercise in c programming, I already completed a large part but I am struggling with the array reversal. #pragma warning

I need help with this exercise in c programming, I already completed a large part but I am struggling with the array reversal.
 I need help with this exercise in c programming, I already
completed a large part but I am struggling with the array reversal.

#pragma warning (disable :4996) #include #include typedef enum boolean ( false, trueBoolean; int lengtha; int lengthb; Boolean login) char uname [ 20]; char passwd [ 20 char reverse[ 20 int result; printf("Enter username: getchar (uname); %c ", uname); printf("Enter password : %c ", getchar (passwd); lengthbstrlen (passwd); passwd ); for (int i-(lengthb - 1); i >- 0; i--) printf(c", lengthb); result -strcmp (uname, passwd); if (result0) printf("You are logged inln"); return 1; else return 0 int main) f login)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!