Anonymous Asked in Cars &Transportation · 2 weeks ago

What is * operator in C used for?

-


What does the * operator mean in C?

*= Multiply AND assignment operator. It multiplies the right operand with the left operand and assigns the result to the left operand. C *= A is equivalent to C = C * A. /=

What is the use of * operator?

Answer. Answer: : The * operator can be used to repeat the string for a given number of times. Writing two string literals together also concatenates them like + operator.

How is * used in C?

I know & means the address of a variable and that * can be used in front of a pointer variable to get the value of the object that is pointed to by the pointer. But things work differently when you're working with arrays, strings or when you're calling functions with a pointer copy of a variable.

What are * and & operators means in C?

Answer: * Operator is used as pointer to a variable. Example: * a where * is pointer to the variable a. & operator is used to get the address of the variable. Example: &a will give address of a.

Related Questions

Relevance
Write us your question, the answer will be received in 24 hours