hello
I had a question that what is the meaning of function in C++.
thank you
Abdu Rahman
0
Newbie Poster
Recommended Answers
Jump to Postin example:
#include <iostream> #include <stdio.h> void examplefunction(int a, int b, char c){ switch (c){ case '+': printf("%d + %d = %d\n", a,b,a+b); break; case '-': printf("%d - %d = %d\n", a,b,a-b); break; case '*': printf("%d * %d = %d\n", a,b,a*b); break; case '/': printf("%d / %d …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.