C program to convert and array in to string



Details details details

Sub Heading more details

Some description

Method 1

#include <stdio.h>
void main()
    int m, n;
    printf("Enter the values for M and N\n");
    scanf("%d %d", &m, &n);
    if (m == n)
        printf("M and N are equal\n");
        printf("M and N are not equal\n");

Now here make sure this text is not coming within the code section. to confirm go to the text button shown above


Enter the values for M and N
3 3
M and N are equal
$ a.out
Enter the values for M and N
5 8
M and N are not equal

Leave a Reply

Your email address will not be published. Required fields are marked *