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

Home > Java Programming > Structures > Questions and Answers

Q: A structure called record which holds an integer called loop, a character array of 5 elements called word, and a float called sum, looks like
A. Structure 1
struct record {
int loop;
char word[5];
float sum;
};
B. Structure 2
type structure record {
loop : integer;
word : array[0..4] of char;
sum : real;
};
C. Structure 3
type record {
integer loop;
char word[4];
float sum;
}
D. None of these

Answer and Explanation

Answer:Structure 1
struct record {
int loop;
char word[5];
float sum;
};

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.