How to write below written c++ statement in c language???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

How to write below written c++ statement in c language????

c=a+b; cout <<"sum of \t"<<a<<"and \t"<<b<<"is\t"<<c;

1st Oct 2017, 3:11 AM
Swati Tiwari
4 Answers
+ 12
@Gordie thank you so much 🙏🙏🙏 for solving my doubt.
1st Oct 2017, 3:49 AM
Swati Tiwari
+ 7
@shivani Thank you 🙏🙏
5th Oct 2017, 5:33 PM
Swati Tiwari
+ 2
printf("sum of a %d and b %d is c %d",a,b,c);
5th Oct 2017, 3:13 PM
Shivani Goyal
+ 2
welcome Swati Tiwari. Happy programming
5th Oct 2017, 5:36 PM
Shivani Goyal