output of the following program

 #include<stdio.h>

#include<conio.h>
int main( )
 {
     int num[]={1,2,3,4,5};
     int i, *ptr;
     ptr = num;
     *ptr += 2;
     for(i=0; i<5; i++)
     {
          printf("\n %d:",num[i]);
         }
 }    

Post a Comment

If you have furthur QUERIES please let us know

Previous Post Next Post