Write a program to input a string. If the character in the string lies between 
A-M or a-m then encrypt the character by right shift to two places (>>2) 
otherwise left shift to two places (<<2).

 Write a program to print the date using bitwise operator.

Write a program to print the binary value of numbers from 0 to 15 using bitwise 
operator.

 Write a program to input a string and print its binary value and also print 
its compliment.

 Write a program to check whether a particular switch is ON or OFF. If ON then 
switch it OFF else switch it ON.


 Write a program to input information of 20 people i.e. their name, age, 
gender, identity and vehicle they have (using all the bits of integer variable 
except name) and print the data.

Write a program to input two matrices (3*3) and then multiply them. Print the 
result. [Extra credit: use pointers.]

 Write a program to input two strings, compare them and find the result 
(without using strcmp).

Write a program to input two strings and append the second string to the first 
one.

Write a program to open a file in read mode. Encrypt its data (using 
compliment) and store it into another file.

 Write a program to open a file in read mode and count the number of 
characters, spaces and lines in it. And print the result.


 Make a file using two pointers. First pointer to open a file in read mode and 
the second pointer to open a file in write mode. Encrypt the data of first file 
using XOR. Add 1 to the character and then XOR it with the original character. 
Store the result in the second file.


Write a program to store a complete paragraph in a file.

 Write a program to count the number of words stored in a file.

 Write a program to open a file and store the record of person till the user 
wants to quit


if any query do reply....


Reply via email to