How do you decide which integer type to use?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Which uses less memory? a) struct astruct { int x; float y; int v; }; b) union aunion { int x; float v; }; c) char array[10];

4 Answers   Quark,


What are the two types of comments?

0 Answers  


Differentiate between an external iterator and an internal iterator?

0 Answers  


Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?

6 Answers   CSC,


Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?

0 Answers   Maxobiz,






Explain the difference between using macro and inline functions?

0 Answers  


Explain what is polymorphism in c++?

0 Answers  


Which coding certification is best?

0 Answers  


What are the advantages of inheritance in c++?

0 Answers  


What is the output of the following program? Why?

0 Answers  


When is a template better solution than a base class??

2 Answers   emc2,


How can we check whether the contents of two structure variables are same or not?

0 Answers  


Categories