Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write a program to encrypt the data in a way that inputs a
four digit number and replace each digit
by (the sum of that digit plus 7) modulus 10. Then sweep the
first digit with the third, second digit
with the fourth and print the encrypted number.


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

Post New Answer

More C++ General Interview Questions

class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.

2 Answers   Quark,


If there are two catch statements, one for base and one for derived, which should come first?

0 Answers  


Can you please explain the difference between overloading and overriding?

0 Answers  


Is c++ harder than java?

0 Answers  


When should you use global variables?

0 Answers  


What is the difference between structures and unions?

0 Answers  


What is a mutable member?

1 Answers  


What should main() return in c and c++?

0 Answers  


What is c++ library?

0 Answers  


Do class declarations end with a semicolon?

0 Answers  


Search for: what is pair in c++?

0 Answers  


What is difference between n and endl in c++?

0 Answers  


Categories