What is the use of getchar functions?
Answer / Satyendra Kumar Yadav
getchar() is a C function that reads a single character from the standard input stream. It can be used to read user input in a program.
| Is This Answer Correct ? | 0 Yes | 0 No |
Rapunzel walks into the forest of forgetfullness. She meets a Lion who lies on Monday Tuesdays and Wednesdays and meets a rabbit who lies on Thurs fridays and saturdays . On that day both say that "I lied yesterday". What day is it .
What is sizeof int?
which is an algorithm for sorting in a growing Lexicographic order
Is multithreading possible in c?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
Once I have used freopen, how can I get the original stdout (or stdin) back?
What are the two types of functions in c?
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.
C program to find frequency of each character in a text file?
how to find the given number is prime or not?
What is the difference between big endian form and little endian form? write a code to convert big endian form to little endian and vice versa..
#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"maddimsetti"}; s1[]=s[]; printf("%s",s1[]); }