What do you mean by translation unit in c++?



What do you mean by translation unit in c++?..

Answer / hrpynux@gmail.com

In C and C++ programming language terminology, a translation unit (or more casually a compilation unit) is the ultimate input to a C or C++ compiler from which an object file is generated.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.

3 Answers  


What is the size of pointer ? Also size of pointer in 64 bit pointer

4 Answers  


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

0 Answers  


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

0 Answers  


What methods can be overridden in java?

0 Answers  






Explain shallow copy?

0 Answers  


A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.

0 Answers  


given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you

2 Answers  


Define copy constructor.

0 Answers  


What do you mean by C++ access specifiers ?

1 Answers  


Is it possible to provide special behavior for one instance of a template but not for other instances?

0 Answers  


What is the use of ‘using’ declaration?

1 Answers  


Categories