Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

CSJM C Interview Questions
Questions Answers Views Company eMail

Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.

1 11768

Post New CSJM C Interview Questions


CSJM C Interview Questions
    CSJM C Interview Questions (1)


Un-Answered Questions

How deadlock is detected?

413


please tell me short cut method in maths as well as in english for correcting the error for the post of clerck in bank exam

1844


Can we make a constructor final?

543


Explain what are the major data structures used in the hierarchical data model?

533


What is the difference between XML Serialization and Binary Serialization?

486






What is the bapi?

603


How to implement getcommon method in class a? Are you seeing any problem in the implementation?

624


What we have to post entry for payroll processing ? (Indian payroll)

2135


Define Expression

567


dear sir please provide what question will be asked in bank it officer interview

1724


How do I install android os on my phone?

474


plz drive the formula d2/162.162 for the calculation of weight of steel bars????

36366


Mention what are the two components jenkins is mainly integrated with?

1


Approach for Installation,comaptibility,system testing

1703


How many tables can be joined in SQL Server?

590