0% found this document useful (0 votes)
3 views1 page

Essential C++ Function Names Guide

fundamentals of marketing for

Uploaded by

surafel.fiss
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Essential C++ Function Names Guide

fundamentals of marketing for

Uploaded by

surafel.fiss
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Commonly Used C++ Function Names

sum: Calculates the sum of two or more numbers.

add: Adds two numbers.

subtract: Subtracts one number from another.

multiply: Multiplies two numbers.

divide: Divides one number by another.

factorial: Calculates the factorial of a number.

power: Raises a number to a given power.

max: Finds the maximum of two or more values.

min: Finds the minimum of two or more values.

average: Calculates the average of a list of numbers.

gcd: Finds the greatest common divisor of two numbers.

lcm: Finds the least common multiple of two numbers.

fibonacci: Computes the Fibonacci sequence up to a certain number.

sqrt: Calculates the square root of a number.

sort: Sorts an array or list of elements.

reverse: Reverses an array or string.

length: Finds the length of an array or string.

isPrime: Checks if a number is prime.

swap: Swaps the values of two variables.

print: Displays output to the console.

read: Reads input from the console.

search: Searches for a value in an array or list.

append: Adds an element to the end of an array or list.

remove: Removes an element from an array or list.

concatenate: Combines two strings or arrays.

You might also like