Consider the following statements: 
struct rectangleData{  
  double length;  double width;  double area;  double perimeter;};rectangleData bigRect; 
Which of the following statements correctly initializes the component length of bigRect?

A. bigRect = {10};
B. bigRect.length = 10;
C. length[0]= 10;
D. bigRect[0]= 10

Answer: B

Computer Science & Information Technology

You might also like to view...

A(n) ____ is a message that tells the person at the screen what should be typed.

A. prompt B. input statement C. scanf D. printf

Computer Science & Information Technology

____ is an encryption algorithm developed by IBM in the 1970s for the U.S. National Bureau of Standards. PAS RSA DES BES DES

PAS RSA DES BES

Computer Science & Information Technology