Operators in C — Practice Set + MCQs + Viva Questions
Great! Here is a full study package for Operators in C ๐✨ (You can request PDF also — I will generate for you.) ๐ฏ Operators in C — Practice Set + MCQs + Viva Questions ๐ Part A — Important Practice Questions Short Questions What is an operator? Give examples. What is the difference between == and = ? Explain pre-increment and post-increment with example. What is modulus operator? Give an example. What is ternary operator? Write its syntax. Coding Questions Write a C program to demonstrate all arithmetic operators. Write a program to compare two numbers using relational operators. Write a program using logical operators to find the largest of 3 numbers. Write a program that shows the working of ++ and -- . Write a program to find even or odd using the ternary operator. ❓ Part B — MCQs (Multiple Choice Questions) 1️⃣ Which operator has the highest precedence? A) && B) + C) () D) = ✔ Answer: C 2️⃣ The operator % is use...