What are types of preprocessor in c?
No Answer is Posted For this Question
Be the First to Post Answer
what are non standard function in c
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
how to print a statement in c without use of console statement ,with the help of if statement it should print
WHAT IS HIGH LEVEL LANGUAGE?
How do I round numbers?
What is the use of ?: Operator?
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 Answers Amazon, CSJM, HCL, Microsoft, TCS, Wipro,
char p="data"; printf(p);
Why ca not I do something like this?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }
What is the purpose of type declarations?