What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)?

a) 6

b) 38

c) An unlimited number


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

Post New Answer

More C++ General Interview Questions

Why namespace is used in c++?

0 Answers  


What is class in c++ with example?

0 Answers  


Can you pass an array to a function in c++?

0 Answers  


Can we define function inside main in c++?

0 Answers  


What are the advantages of using friend classes?

0 Answers  






What does #define mean in c++?

0 Answers  


i want to know how to copy arrary without using any method or function. I have tried the below using System; class e4 { static void Main(string[] args) { int a,b; int[ ] m= new int[5]; int[ ] n= new int[5]; for(a=0;a<=4;a++) { Console.WriteLine("enter any value"); m[a]=Convert.ToInt32(Console.ReadLine()); m[a]=n[a]; } for(b=0;b<=4;b++) { Console.WriteLine(n[b]); } } } but it will give wrong result can anyone solve this problem

1 Answers   Reliance,


Can we use this pointer in a class specific, operator-overloading function for new operator?

0 Answers  


Find out the bug in this code,because of that this code will not compile....... #include <iostream> #include <new> #include <cstring> using namespace std; class balance { double cur_bal; char name[80]; public: balance(double n, char *s) { cur_bal = n; strcpy(name, s); } ~balance() { cout << "Destructing "; cout << name << "\n"; } void set(double n, char *s) { cur_bal = n; strcpy(name, s); } void get_bal(double &n, char *s) { n = cur_bal; strcpy(s, name); } }; int main() { balance *p; char s[80]; double n; int i; try { p = new balance [3]; // allocate entire array } catch (bad_alloc xa) { cout << "Allocation Failure\n"; return 1; }

2 Answers   Impetus,


Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

0 Answers  


Is c++ still in demand?

0 Answers  


structure that describe a hotel with name, address,rooms and number of rooms

2 Answers  


Categories