Welcome Guest | Sign in | Register
Arrays - Discussion Page For Q.10454 | 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[7]="Network";
printf("%s",arr);
return 0;
}  
A. Network B. N
C. network D. Garbage value
E. Compilation error

Answer and Explanation

Answer:Garbage value

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.