Explain the term printf() and scanf() used in c language?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Write a program that can show the multiplication table.

0 Answers   Student,


What are the back slash character constants or escape sequence charactersavailable in c?

0 Answers  


Why are all header files not declared in every c program?

0 Answers  


What is the use of bitwise operator?

0 Answers  


write a c program that prints all multiples of 3between 1 and 50.

5 Answers  






who developed c and why he developed c?

5 Answers  


What is #define used for in c?

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

0 Answers  


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

0 Answers  


can we declare a variable in different scopes with different data types? answer in detail

3 Answers   TCS,


Is c a great language, or what?

0 Answers  


size maximum allocated by calloc()

3 Answers   DELL,


Categories