edited by
248 views
0 votes
0 votes

#include<stdio.h>

#include<conio.h>

int main(){

    int a[][3]={ {4,14,24},{5,15,25},{6,16,26}};

    int *p[3];

      int **ptr=p;

    p[0]=a;

    p[1]=a+1;

    p[2]=a+2;

    ++*p;

    ++p[0];

    ++**ptr;

    ++*p[0];

    ++ptr;

    ++*ptr;

    --*p[1];

    --*ptr;

    ++ptr;

    --p[2];

    --*ptr;

    ++*p[2];

    printf("\n%d,%d,%d",a[0][2],a[1][1],a[2][0]);

    printf("\n%d,%d,%d",*p[0],*p[1],*p[2]);

   

}

what is the output of above program

edited by

1 Answer

Related questions

940
views
0 answers
0 votes
srestha asked Apr 22, 2019
940 views
$1)$ If the complement of NP-Complete problem is in NP, then can we also say , for this case complement of NP problem is in NP-Complete ?$2)$ If the complement of NP-Comp...
312
views
0 answers
1 votes
Priyanka17 asked Oct 9, 2018
312 views
for a given relation and set how to find Equivalence class.for example if I take set S={1,2,3,4} and equivalence relation R= {(1,1), (1,2), (2,1), (2,2), (3,3), (3,4), (4...
473
views
2 answers
1 votes
Parshu gate asked Nov 29, 2017
473 views
If L1 is regular and L2 is CFL then L1.L2 ( . = concat) is ?
594
views
1 answers
1 votes
AnilGoudar asked Jul 14, 2017
594 views
A small doubtwe know that, in class A, the 31st bit is 0.i.e.First octet is - 0 _ _ _ _ _ _ _then minimum value is 0 and 127. But we say that,Range of first octet is (1,1...