in Programming in C
275 views
0 votes
0 votes

#include <stdio.h>

void f(char**);

int main()

{

    char *argv[] = { "ab", "cd", "ef", "gh", "ij", "kl" };

    f(argv);

    return 0;

}

void f(char **p)

{

    char *t;

    t = (p += sizeof(int))[-1];

    printf("%s\n", t);

}

unable to understand the line   t = (p += sizeof(int))[-1];

please explain..

in Programming in C
275 views

1 comment

0
0

1 Answer

1 vote
1 vote

look in the below soln...any doubt if u have regarding soln than please ask 

sorry make t =*7024=4000

 change it..!

Related questions