Programming In C Reema Thareja Pdf 35 Apr 2026

She re-read page 35 carefully — there it was: “Equality check uses ==, not =” She fixed it:

It sounds like you’re looking for a specific page (page 35) from — likely the PDF version — and you want a useful story related to that topic. programming in c reema thareja pdf 35

#include <stdio.h> int main() { int pin; printf("Enter PIN: "); scanf("%d", &pin); if (pin = 1234) // Mistake: used = instead of == printf("Locker open\n"); else printf("Access Denied\n"); return 0; } No matter what PIN she entered, it always said "Locker open" . Why? Because pin = 1234 is an , not comparison. It always evaluates to true (non-zero). She re-read page 35 carefully — there it

if (pin == 1234) And the locker worked perfectly. Page 35 of Reema Thareja’s book saves you from one of the most common C bugs — confusing assignment = with comparison == . If you tell me which specific topic appears on page 35 in your edition (e.g., loops, if-else, operators), I can tailor a more accurate story and example for you. Because pin = 1234 is an , not comparison

NotEnoughTech
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.