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

Home > Java Programming > Functions > Questions and Answers

Q: A function called print which prints a text string passed to it as a parameter (ie, a character based array), looks like
A. function 1
int print( char string[] ) {
printf("%s", string);
}
B. function 2
void print( char string[] ) {
printf("Menu choices");
}
C. function 3
void print( char string[] ) {
printf("%s", string);
}
D. Cannot be determined

Answer and Explanation

Answer:function 3
void print( char string[] ) {
printf("%s", string);
}

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.