Explain modulus operator. What are the restrictions of a modulus operator?
Answer / Parvez Aalam
The modulus operator `%` calculates the remainder when one number is divided by another. The restriction for a modulus operator is that both operands must be integers, either signed or unsigned.
| Is This Answer Correct ? | 0 Yes | 0 No |
Finding first/last occurrence of a character in a string without using strchr( ) /strrchr( ) function.
write a C program, given number is double without using addt ion and multiplication operator?ex:n=6,ans=12,pls send me ans to goviseenu@gmail.com
Explain what is the stack?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
1 Answers Lovely Professional University,
What is NULL pointer?
Write a program to swap two numbers without using a temporary variable?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation.
What do header files do?
how can I convert a string to a number?
What is a sequential access file?
Describe the modifier in c?