answersLogoWhite

0


Best Answer

% = Shift + 5

Example:

printf ("7%%3=%d\n", 7%3);

result: 7%3=1

one more thing this operator works only with integer type numbers not floating numbers.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the Syntax of remainder operator in c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Syntax of turbo c?

+ += - -= * *= / /= % %= = == != <= >= & && | ^ ~ << <<= >> >>= , [] () are the basic operator in TURBO C


What is condional operator?

Conditional Operator- Its the only ternary operator in c/c++.- Its syntax is-(condition)?statement1:statement2;-Shruti Jain


What is the basic syntax of C?

+ += - -= * *= / /= % %= = == != <= >= & && | ^ ~ << <<= >> >>= , [] () are the basic operator in TURBO C


Syntax of for loop in c language?

for(i=0;i<=0;i++)


What are the basics of c language?

The syntax... go learn it!


What is the meaning of statement p z in c-language?

The statement p z in c code is a syntax error. The p is an identifier, and so is the z. They cannot be typed tyogether like that unless an operator is placed between them, such as p + z.


What do the two plus stand for in C plus plus?

The ++ in C++ refers to the postfix increment operator (operator++()). It's literal meaning is "the successor to C", in reference to the C language upon which the C++ language is based.


What is the memory management operator in c plus plus?

There is no memory management operator in C++ -- it is an unmanaged language. You use the C++ new operator to allocate memory, and use the C++ delete operator to release previously allocated memory.


How you declare a variable in c language?

you have to give a statement in the following syntax datatype variable;


Ternaory operator in C language?

exp1? exp2: exp3


Java syntax are based on which language?

Java's syntax is primarily based on the syntax of the C and C++ programming languages. James Gosling and his team, the creators of Java, aimed to make Java familiar to programmers who were already proficient in C and C++. This approach facilitated the adoption of Java among developers with prior experience in these languages. At AchieversIT, our Java training courses cover not only the syntax but also the core concepts and principles of Java programming, enabling students to become proficient Java developers.


Which language is source program written?

The Java language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities