int main() {
int d = 10;
int m = 2;
int y = 3603;
int c = 0;
int val;
val = ( d + m + y + (y/4) + c) % 7;
cout << val;
return 0;
}


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

Post New Answer

More Engineering AllOther Interview Questions

What is difference between ext2 and ext3 in linux

1 Answers   NetMagic,


Write a nonrecursive routine to reverse a singly linked list in O(N) time.

4 Answers   Aptech, College School Exams Tests, IIIT, Infosys, KL University, SRM,


Explain power?

0 Answers  


what is difference between semaphre and deadlock

0 Answers  


How to write AM/FM demodulation in C language ?

0 Answers  






I need to know the process to add 100 tapes in ATL. Ho to inicialize them to the system? How is all the process i need to follow> Thanks

0 Answers   EDS,


HOW CAN YOU RELATE THE FUNCTION WITH STRUCTURE EXPLAIN WITH APPROPRIATE EXAMPLES

0 Answers  


How does C pass variables to a function ?

0 Answers   Geometric Software,


what is the difference between VARCHAR and VARCHAR2?

5 Answers  


how can we implement the raid techmology on linux. operating system

0 Answers  


how to prepare for an written exam for any type of company?

0 Answers   Wipro,


How to Shut-down the system through QTP Script?

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)