Interview Questions and Answers :: HCL Technologies
Home > Experience Archives > HCL Technologies > Interview Question Set 3 > Discussion
6. What will be the output of the program
#include
int main(){
char *cptr=0;
int *iptr=0;
void *vptr=0;
cptr++;
iptr++;
vptr++;
printf("%u %u %u",cptr,iptr,vptr);
return 0;
}
int main(){
char *cptr=0;
int *iptr=0;
void *vptr=0;
cptr++;
iptr++;
vptr++;
printf("%u %u %u",cptr,iptr,vptr);
return 0;
}
Answer:
No Discussion on this question yet!
No Discussion on this question yet!