Computer AwarenessHardSBI Clerk Mains · IBPS SO IT Officer

A compiler translates a C source file. What is its output called, before the linker combines it with library code?

  1. A. Executable code
  2. B. Object code
  3. C. Byte code
  4. D. Source code

Correct answer: B. Object code

The compiler produces object code, machine code with unresolved references; the linker joins object files and libraries into an executable. Byte code is the output of compilers for virtual machines such as Java's.

हिंदी में

एक कंपाइलर C स्रोत फ़ाइल का अनुवाद करता है। लिंकर द्वारा उसे लाइब्रेरी कोड से जोड़ने से पहले उसके आउटपुट को क्या कहते हैं?

  1. A. एक्ज़ीक्यूटेबल कोड
  2. B. ऑब्जेक्ट कोड
  3. C. बाइट कोड
  4. D. स्रोत कोड

उत्तर: B. कंपाइलर ऑब्जेक्ट कोड बनाता है, जो अनसुलझे संदर्भों वाला मशीन कोड है; लिंकर ऑब्जेक्ट फ़ाइलों और लाइब्रेरियों को जोड़कर एक्ज़ीक्यूटेबल बनाता है। बाइट कोड Java जैसी वर्चुअल मशीनों के कंपाइलरों का आउटपुट है।

More Computer Awareness questions

Exams that ask this topic