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...

Topic :: C++





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. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.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. 3.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(i.e.,the original ASCII equivalent plus the random integer)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. 4.Dislay 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 decodingas was used in encoding.

1 3560

What is the best concrete grade for raft foundation up to 1.5 meters depth?

3 9361

What is the best mixing ratio of concrete materiloas for raft foundation?

1 7045

In what construction is concrete grade m35 used?

Cipla, High Concrete,

4 11066

How do you recognize a 5 star hotel?

Somerset,

1 3211

What is ALSPA 370 control system

DUBAL-Dubai Aluminium,

1 5554

In table a 1lakh data is present,in table b 20 thousand data is present, to get unique data from table a and b which join to be considered. whether right outer join or left inner join. 

GE,

2 5467

I have 2 table A and B. In A 1 lakh record is present. In b 20 thousand data is present. To get the unique data from table A and B which join we should prefer left inner join or right outer join. Please answer.

GE,

4 10174

difference between converter and invertor

2 5595

Which protocol encapsulates IP datagrams on a serial line ?

1 2601

Which protocol is an improvement over SLIP and is supported by Solaris ?

1 3258

Which protocol translates MAC addresses to IP addresses ?

1 3009

What does ICMP stand for ?

1 2937

Which protocol translates host names to IP addresses ?

1 3357

Name 3 commands will let you logon to another machine ?

1 3189




Un-Answered Questions { C++ }

can i get apex technologies interview questions in testing

2423


Please Check out and Answer the Questions in Networking section. It's argent.

2273


if anyone has idea of the interview procedure in covansys, plz send me a mail?

2051


With in the form we want to check all the text box control are typed or not? How?

2060


What is the product of the irrational roots of the equation (2x-1)(2x-3)(2x-5)(2x-7)=9?

2791


A Customs Inspector is required to apply laws and regulations. What experience do you have in applying laws and regulations?

2320


Based on your experience, what methods have you used to successfully explain complex rules and regulations to the general public?

2400


What's happening in the news right now, both in your country and abroad? Where did you hear about it?

2552


Why did you become an flight attendant?

3245


On average how much travelling do you do?

2672


Do you have a bad back or any medical issues?

2508


How would you attach pictures in column headers of List View Control?

2157


How would you activate animation control?

2444


Tell me your experience with CI?

2381


Do you know what is the leaving cost in US specific to the place where you are going?

2593