Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Question :
(a) (i) What is a structure member in C? What is the relationship between a structure member and the structure? (ii) How can structure variables be declared in C? How do structure variable declarations differ from structure type declarations? (iii) Can a structure variable be defined as a member of another structure? Can an array be included as a member of a structure? Can an array have structures as elements?
(b) Describe a structure that contains the following three members:
(i) an integer quantity called won (ii) an integer quantity called lost (iii) a floating-point quantity called percentage
Include the user-defined data type record within the definition.
(c) (i) What is a union? How does it differ from a structure? (ii) How is a union member accessed? (iii) How can a union member be processed?
(d) Define a union of type ans which contains the following three members: (i) an integer quantity called ians (ii) a floating-point quantity called fans (iii) a double-precision quantity called dans
Now define a structure which contains the following four members: (i) a union of type ans called answer (ii) a single character called flag (iii) two integer quantities called a and b
Finally declare two structure variables called x and y whose composition is as described above.
Type Casting Implicit type conversions, as allowed by the language, can lead to errors creeping in the program if care is not taken. Thus, explicit type conversions may be used
The #define Directive The #define directive explains a macro which is a text string represented by a name. Whenever the pre-processor finds this name in the program, it is repl
source code in c ?
1.jewels can only be removed for polishing from either end of the necklace. 2.cost of polishing=sitting number*colour value of jewels.
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send
limitations of increment operator
recursive sub programs
c program??
A: Mostly can be overloaded. The only C operators which can't be are. and?: (and sizeof, that is technically an operator). C++ adds a few of its own operators, mostly which can be
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd