1. Blog

C program to convert and array in to string

Heading

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");
    else
        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

Output

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
Comments to: C program to convert and array in to string

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

Attach images - Only PNG, JPG, JPEG and GIF are supported.

Login

Welcome to WikiCoders

Join the site and store the save posts for later, share your own articles
Join WikiCoder
Registration is closed.