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

Home > Java Programming > Arrays > Questions and Answers

Q: What will be output when you will execute following c code?
01 #include
02 #define var 3
03 int main()
04 {
05 char *cricket[var+~0]={"clarke","kallis"};
06 char *ptr=cricket[1+~0];
07 printf("%c",*++ptr);
08 return 0;
09 }
A. a B. r
C. l D. Compilation error
E. None of the above

Answer and Explanation

Answer:l

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




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