You run a shell on unix system. How would you tell which shell are you running?


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

Post New Answer

More C++ General Interview Questions

Differentiate between structure and class in c++.

0 Answers  


What causes a runtime error c++?

0 Answers  


What are exceptions c++?

0 Answers  


What are the uses of c++ in the real world?

0 Answers  


What is the difference between prefix and postfix versions of operator++()?

0 Answers  






What is Virtual Inheritance?

7 Answers   Amazon, Wipro,


How do you link a C++ program to C functions?

4 Answers  


Difference between inline functions and macros?

0 Answers  


Can you please explain the difference between using macro and inline functions?

0 Answers  


What is the header file for setw?

0 Answers  


What is lvalue?

0 Answers  


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  


Categories