Would the following program compile? main() { int a=10,*j; void *k;< BR> j=k=&a; j++; k++; printf("n%u%u",j,k); } a) Yes b) No, the format is incorrect c) No, the arithmetic operation is not permitted on void pointers d) No, the arithmetic operation is not permitted on pointers

This question is related to Sonata Interview

Showing Answers 1 - 2 of 2 Answers

keshav

  • Apr 24th, 2006
 

option 3 ... no operation on void pointers..

  Was this answer useful?  Yes

Krupa

  • May 25th, 2006
 

option 3

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions