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

Answer Posted / dally

#include<stdio.h>
int main()
{
int a=2,b=3,sum =0;
while(a--){
sum = sum+b;
puts(sum);

}

Is This Answer Correct ?    14 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some of the static data structures in C?

757


Describe explain how arrays can be passed to a user defined function

598


What is pragma in c?

623


Explain what are binary trees?

604


Is main is user defined function?

588






How do c compilers work?

602


Why doesnt the call scanf work?

665


What is an auto variable in c?

748


Write a program to show the change in position of a cursor using c

575


Why & is used in c?

709


What is derived datatype in c?

627


Why main is not a keyword in c?

642


What is string function c?

561


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

569


What is indirection?

645