in C-programming language without using printf statement
can we get output r not ? if yes how and if no also how ?
Answer Posted / murali
it is possible . with using if condition and library
function
Is This Answer Correct ? | 16 Yes | 9 No |
Post New Answer View All Answers
How do you determine the length of a string value that was stored in a variable?
Why double pointer is used in c?
Explain how can a program be made to print the name of a source file where an error occurs?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
What does c mean in basketball?
What is ctrl c called?
What do mean by network ?
Does sprintf put null character?
Why is c called a mid-level programming language?
How to create struct variables?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
Explain what is the difference between text files and binary files?
How can I recover the file name given an open stream?