Welcome Guest | Sign in | Register
Arrays - Discussion Page For Q.10457 | 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 if you will execute following c code?

#include
int main(){
char arr[20]="MysticRiver";
printf("%d",sizeof(arr));
return 0;
}  
A. 20 B. 11
C. 12 D. 22
E. 24

Answer and Explanation

Answer:20

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.