Function with argument and with return value
#include <stdio.h>
int sum(int a, int b)
{
return a+b;
}
int main()
{
int a, b, c;
a=9;
b=87;
c=sum(a, b);
printf("The sum is %d\n", c);
return 0;
}
OUTPUT:
The sum is 96
🌍 Welcome to my digital realm of code and creativity! 🚀 Hey there, intrepid explorer of the virtual universe! I'm AATIFA MUGHEER, and I'm thrilled to welcome you to my corner of the internet where the languages of humans and computers collide in a symphony of innovation and artistry. 🎨💻 I've embarked on an exhilarating journey to unravel the secrets of C's elegance, the dance of HTML and CSS, and the magic of many other languages. So, Let's dive into the digital unknown together! 🌐🚀
#include <stdio.h>
Tysm
ReplyDelete