Question: Point out the error in the program?

Options

A : Error: Lvalue required/incompatible types in assignment

B : Error: invalid constant expression

C : Error: Rvalue required

D : No error, Output: Suresh 25

Click to view Correct Answer

Previous ||

Structures, Unions, Enums - Point Out Errors more questions

Point out the error in the program?

Point out the error in the program in 16-bit platform?

Point out the error in the program?

Point out the error in the program?

Point out the error in the program?

A union cannot be nested in a structure

Nested unions are allowed

Bit fields CANNOT be used in union.

one of elements of a structure can be a pointer....

A structure can be nested inside another structure.

Arrays - General Questions more Online Exam Quiz

Structures, Unions, Enums - True / False Questions

Structures, Unions, Enums - Yes / No Questions