Docsity

Structure in C Programming Exam with Solution | CSCE 206, Exams of Computer Science

Partial preview of the text

Download Structure in C Programming Exam with Solution | CSCE 206 and more Exams Computer Science in PDF only on Docsity!

representation), which of the following is NOT TRUE? B re A. The remainis ‘elements are stored at locations 100430, 10089, 101249, and 1016. a) ‘of the following code? ¢ ) ’ A 6 es D5 ‘will generate a compilation time error. E, None of the above tis the output of the following code? B 43, What will be the output ofthe following program? A printf ("td td", a(2]-*a, a(1])7 mt main Adi “ntlatan, Gaet De a0 E, twill generate a compilation time error. 48. What isthe output of the following code? A ("td $d", alp-ati], *ptt)s ‘50, Which one is true about “HEAP”: (choose the most correct one) E ‘A. Memory allocated by C's dynamic allocation functions is obtained from the heap. B. The beap is free memory that is not used by operating system. C. The size of the heap cannot usually be known in advance, D. Itcontains a fairly lange amount of fre space. Allott bore 48. Suppose our machine stores an int. in four bytes. If (0) is stored at location 1000%» (decimal