Usando un puntero para manipular directamente los datos en la memoria en c
Loading

The New Alison App has just launched Download Now

Anterior Previous slide Next slide Siguiente

Usando un puntero para manipular directamente los datos en la memoria en c

  • Study Reminders

    Set your study reminders

    We'll email you at these times to remind you to study

    You can set up to 7 reminders per week

    You're all set

    We'll email you at these times to remind you to study

    Monday

    -

    7am

    +

    Tuesday

    -

    7am

    +

    Wednesday

    -

    7am

    +

    Thursday

    -

    7am

    +

    Friday

    -

    7am

    +

    Saturday

    -

    7am

    +

    Sunday

    -

    7am

    +
  • Apuntes
  • Revisión por tema
    Arun S.
    IN
    Arun S.

    instead of printing the first letter(%c) what if i try to print the whole string using( %s)

    Arun S.
    IN
    Arun S.

    can i assign any " STRING LITERAL " to a " CHAR POINTER " ex: char *string; string = "Hello TRAINER";

    Amith B.
    IN
    Amith B.

    char words[6] = "Earth"; char *ptr_words = words; *ptr_words = "E"; ptr_words = ptr_words + 1; *ptr_words = "A"; ptr_words = ptr_words + 1; *ptr_words = "R"; ptr_words = ptr_words + 1; *ptr_words = "T"; ptr_words = ptr_words +1; *ptr_words = "H"; printf("the new word is %s \n", words); What's wrong with the above coding? I'm getting error

    Dilawar H.
    PK
    Dilawar H.

    pointer to directly manipulate data in memory.

Notification
You have received a new notification
Click here to view them all