What will strcmp("Astring", "Astring"); return

a) A positive value

b) A negative value

c) Zero


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

Post New Answer

More C++ General Interview Questions

Explain the concept of dynamic allocation of memory?

0 Answers  


what is the diff b/n c and c++ a. dynamic scoping b. nested switching c. declaration of variables in any code block d. separation of compilation and linking

2 Answers   Hughes,


What can I safely assume about the initial values of variables which are not explicitly initialized?

0 Answers  


If I is an integer variable, which is faster ++i or i++?

0 Answers  


What is constant in c++ with example?

0 Answers  






What does int * mean in c++?

0 Answers  


What is virtual base class?

0 Answers  


Types of storage and scope of each type

2 Answers   CA,


Explain the volatile and mutable keywords.

0 Answers  


What is private, public and protected inheritance?

0 Answers  


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

0 Answers  


Describe linked list using C++ with an example.

0 Answers  


Categories