9.how do you write a function that takes a variable number
of arguments? What is the prototype of printf () function?
10.How do you access command-line arguments?
11.what does ‘#include<stdio.h>’ mean?
12.what is the difference between #include<> and #include”…”?
13.what are # pragma staments?
14.what is the most appropriate way to write a
multi-statement macro?
Answer Posted / 2028
The above reply is an vague idea for the concept idea some
details may be with an example will be an good input from
nay one of us
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
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.
What happens if a header file is included twice?
What is the explanation for cyclic nature of data types in c?
What is character constants?
How many main () function we can have in a project?
What is the difference between struct and typedef struct in c?
Explain how can a program be made to print the line number where an error occurs?
What is #include stdlib h?
How can you restore a redirected standard stream?
What is non linear data structure in c?
What is a constant?
How can I find out if there are characters available for reading?
How to declare a variable?
Write a program to identify if a given binary tree is balanced or not.
What is the use of c language in real life?