C Development Tools and Functions: A Comprehensive Guide

Classified in Computers

Written at on English with a size of 2.85 KB.

Which C development tool may add automatically malicious source code to the original application source code?

C Preprocessor

Which C software development tool may inadvertently add compiled object/binary code to the original compiled application object code?

Linker or Linkage Editor

If two programmers are developing two separate files a.c and b.c to be merged into one source code before compilation, and one declares in a.c global integer variable int j; how should the other programmer declare and use the same integer variable j in the source code b.c. Write a line of code that allows the second programmer to use in b.c declaration of variable j from the first file a.c?

extern int j;

What does ELF specify?

Executable file format, Executable file header, UNIX executable file

Does strcpy() function influence dynamic variable heap space in the data segment?

Yes

Where are dynamic variables located in memory?

In the heap space

From security point of view, when purchasing from the third party a function library of reusable C code. Is it better to purchase source code or object code library?

Source code library

Which one cost more?

Source code library

Which portion of the executable program (process) memory image (foot print) at run time, is determined by the static linker at compile time?

Code segment (Text)

What is used to instruct loader how to load program at load time?

(Executable) Program's file header

What C user programmer must know in order to reuse certain function?

function prototype

What is the equivalent term used in C++/Java/C#?

method signature

If some function f() is linked to the main()C program function at compile time, do we have static or dynamic linking?

static linking

What is the name of development tool (program) that converts 1GL code to 0GL code?

Assembler

What is the most important C function library that every compiler vendor must provide?

Standard Input Output Library, stdio library

What sort of functions are used in source code (e.g., by developers in C language) to call (to reuse) OS kernel service routines?

API functions, (OS service API functions)

Can compiler vendor provided (standard) libraries be trusted?

Yes

How are compiler vendor's standard libraries shipped, in object or source code?

Object code libraries

Entradas relacionadas: