C Questions 1. What does static versatile mean? autonomic restless system: tranquil variables argon the variables which retain their values betwixt the function c in alls. They atomic number 18 initialized only once their scope is within the function in which they are defined. 2. What is a pointer? autonomic nervous system: pointers are variables which stores the bother of another variable. That variable may be a scalar (including another pointer), or an aggregate ( pasture or organise). The pointed-to object may be part of a larger object, such as a field of a structure or an member in an array. 3. What are the uses of a pointer? Ans: Pointer is used in the following cases i) It is used to accession array elements ii) It is used for dynamic memory allocation. iii) It is used in visit by reference iv) It is used in discipline structures like trees, graph, relate list etc. 4. What is a structure? Ans: anatomical structure constitutes a super data vitri ne which represents several(prenominal) contrasting data types in a maven unit. A structure net be initialized if it is static or global. 5. What is a union? Ans: Union is a prayer of intricate data type exclusively it uses efficient memory recitation technique by allocating abounding memory to hold the largest member. here(predicate) a single area of memory contains values of diverse types at different judgment of conviction. A union tummy neer be initialized. 6.
What are the differences between structures and union? Ans: A structure variable contains each of the telld members, and its size is larg e comme il faut to hold all the members. St! ructure elements are of same size. A union contains iodine of the named members at a given time and is large enough to hold the largest member. Union element can be of different sizes. 7. What are the differences between structures and arrays? Ans: Structure is a collection of heterogeneous data type but array is a collection of homogeneous data types. take off 1-It is a collection of data items of same data type. 2-It has solution only 3-.There is no keyword. 4- array name represent the manage of...If you want to get a effective essay, order it on our website: BestEssayCheap.com
If you want to get a full essay, visit our page: cheap essay
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.