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

Home > Java Programming > Typecasting > Questions and Answers

Exercise:

Section 1

Q: What is the output of following program?
void abc(int a, int b){
printf("%d%d",++a,++b);
}
void main(){
int a=10;
abc(++a,a++);
abc(a++,++a);
printf("%d",a);
}
A. 13 12 12 13 14 B. 13 11 14 14 14
C. 13 11 13 14 14 D. 13 12 14 14 14

Answer and Explanation

Answer:13 11 14 14 14

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.