How many bit combinations are there in a byte?
Answers were Sorted based on User's Feedback
Answer / bari
2 raise to no. of byte ie. for three byte ,8 bit combination
Is This Answer Correct ? | 4 Yes | 16 No |
Answer / anita sachdeva
Byte contains the 8 Bits and bit contains either the value
0 or 1. there are only two states there will be 255
combinations i.e.(2 raise to power 8 minus 1)
combinations .
Is This Answer Correct ? | 18 Yes | 46 No |
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
What are the various operations performed on stack?
In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.
Explain the pure virtual functions?
What are static variables?
How a macro differs from a template?
write a program to add two numbers without using an arithmetic operator.
What do you mean by function pointer?
List the features of oops in c++?
Difference between linked list and array?
What is helper in c++?
What is c++ manipulator?