Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Is c++ proprietary?

0 Answers  


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

0 Answers  


Is python written in c or c++?

0 Answers  


Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.

16 Answers   BNB, FDS, Goldman Sachs, Nagarro,


What are static variables?

0 Answers  






diff between pointer and reference in c++?

1 Answers  


What is a .h file c++?

0 Answers  


make a middle node of doubly linklist to the top of the list

1 Answers  


template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }

1 Answers   Quark,


How many static variables are created if you put one static member into a template class definition?

0 Answers  


What is an object in c++?

0 Answers  


Why do we need templates?

0 Answers  


Categories