write a addition of two no. program with out using
printf,scanf,puts .

Answer Posted / vaibhav

#define PRINT printf("%d",a+b)
void main()
{
int a=8,b=7;
PRINT;
getch();
}

Is This Answer Correct ?    30 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

14952


How do you use a pointer to a function?

625


please send me the code for multiplying sparse matrix using c

1718


given post order,in order construct the corresponding binary tree

2314


Do you know the difference between malloc() and calloc() function?

605






What are the similarities between c and c++?

593


What is malloc return c?

596


What is the explanation for prototype function in c?

564


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2716


Why should I use standard library functions instead of writing my own?

665


How can I insert or delete a line (or record) in the middle of a file?

568


What is the benefit of using an enum rather than a #define constant?

652


What are the various types of control structures in programming?

623


Write a program to reverse a string.

631


Describe the difference between = and == symbols in c programming?

771