Answered You can buy a ready-made answer or pick a professional tutor to order an original one.

QUESTION

programs show error please help me

i am run c programs that is  

#include <stdio.h>

#include <stdlib.h>

int main ()

/*

this is my first program

this is awesome*/

/* these statements "/* and *" used tp enter the comments before header file */

{

    char name[18]="malik umer farooq";

    printf("my name is %s  \n",name);

    name[2] = 'z';

    printf("my name is %s  \n",name);

    char food[10] = "tona";

     printf("best food is  %s  \n",food);

    strcpy(food "bonna");

      printf("best food is  %s  \n",food);

    return 0;

}                                                                          

showing error please help me

Show more
Prof Nelson
Prof Nelson
  • @
  • 11 orders completed
ANSWER

Tutor has posted answer for $98.00. See answer's preview

$98.00

********* Code and ***********

Click here to download attached files: Corrected Code.txt
or Buy custom answer
  • @
ANSWER

Tutor has posted answer for $2.00. See answer's preview

$2.00

**** the *** *****

#include

***************

********

<stdlibh> ********

<stringh> int

**** ()

*** **** is

**

***** ******** **** is **********

** ***** **********

******** *** *" used ** ***** *** comments ****** ****** file *** ** **** ********************

umer

************** *************** **** **

** *************** name[2] * *************

***************

name is **

\n"name); **** ******** * "tona";

*****************

**** is %s ***************

strcpy(food"bonna"); ***************** **** is **

***************

******

*** *

or Buy custom answer
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question