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


Please Help Members By Posting Answers For Below Questions

How do you determine the length of a string value that was stored in a variable?

742


Why double pointer is used in c?

658


Explain how can a program be made to print the name of a source file where an error occurs?

807


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4267


What does c mean in basketball?

664






What is ctrl c called?

682


What do mean by network ?

777


Does sprintf put null character?

690


Why is c called a mid-level programming language?

839


How to create struct variables?

689


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

748


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.

4950


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.

4658


Explain what is the difference between text files and binary files?

724


How can I recover the file name given an open stream?

633