C - Programming - PART 4 « Previous Next » 1. Which of following are themselves a collection of different data types? A. String B. Structure C. Char D. All of the above [BU BHOPAL-2014] Answer: B - Structure 2.User defined data types are: A. struct B. enum C. typedef D. All of the above [BU BHOPAL-2014] Answer: D - All of the above 3. Which operator connects the structure name of its member name? A. - B. <- C. . D. All [BU BHOPAL-2014] Answer: C . 4. Size of union determined by size of the: A. First member B. Last member C. Biggest member D. Sum of the sizer of all member [BU BHOPAL-2014] Answer: C - Biggest member 5. The function which obtain block of memeory dynamically: A. Calloc() B. malloc() C. Both D. None [BU BHOPAL-2014] Answer: B - malloc() 6. Literal means A. A string B. A string constant C. A character D. An alphabet [BU BHOPAL-2015] Answer: B - A string constant 7. Printf("%d",printf("tim")); A. Results is a syntax error B. Output tim 3 C. Outputs garbage D. Outputs tim and terminates abruptty [BU BHOPAL-2015] Answer: B - Output tim 3 8. Pointer variable can be: A. Passed to a function as argument B. Changed within function C. Returned by a function D. Assigned an integer value [BU BHOPAL-2015] Answer: A - Passed to a function as argument 9. C is often called a: A. Object oriented language B. High level language C. Assembly language D. Machine level language [BU BHOPAL-2015] Answer: B - High level language 10. The control automatically passes to the first statement after the loop: A. Continue statement B. Break statement C. Switch statement D. If statement [BU BHOPAL-2015] Answer: A - Continue statement « Previous Next »
No comments:
Post a Comment