Welcome Guest | Sign in | Register
Pointers - Discussion Page For Q.10783 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Pointers > Questions and Answers

Q: What is the output of following program?

void main(){
int a=89;
int p;
p=&a;
*(int*)p=8;
printf("%d",a);
return 0;
}
A. 7 B. 8
C. 89 D. error

Answer and Explanation

Answer:error

Explanation:
error L value required  

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.