What's the difference between struct x1 { ... }; and
typedef struct { ... } x2; ?

Answer Posted / guest

The first structure is named by a tag, the second by a typedef
name.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what standard functions are available to manipulate strings?

613


Explain high-order and low-order bytes.

670


What is pointer & why it is used?

605


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

643


What is static identifier?

705






What are different types of pointers?

564


Are the variables argc and argv are local to main?

790


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

610


Why c is called a mid level programming language?

607


What is the use of function in c?

715


What is null pointer in c?

596


In which layer of the network datastructure format change is done

1435


What is the g value paradox?

646


What are global variables?

649


What does sizeof int return?

595