What is the maximum value of a unsigned char

a) 255

b) 256

c) 128


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

Post New Answer

More C++ General Interview Questions

this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; }

1 Answers  


Define copy constructor.

0 Answers  


How to create a reference variable in C++

1 Answers  


What is class invariant?

1 Answers  


What is iomanip c++?

0 Answers  






What are formatting flags in ios class?

0 Answers  


Can we declare a base-class destructor as virtual?

0 Answers  


What is the difference between ++ count and count ++?

0 Answers  


write program for palindrome

81 Answers   Amazon, Aricent, CSC, GE, HCL, Infosys, Syntel, Temenos, Wipro,


What is the identity function in c++? How is it useful?

0 Answers  


What is a concrete class?

1 Answers  


What is a hashmap c++?

0 Answers  


Categories