Operators and Expressions
Qus. 1 : <p>What will be the output of the following code?</p><pre><span style="font-size: 14px;">int main()<br></span><span style="font-size: 14px;">{<br></span><span style="font-size: 14px;">int i=25;<br></span><span style="font-size: 14px;">int k=i%4;<br></span><span style="font-size: 14px;">print("%d\n",k);<br></span><span style="font-size: 14px;">}</span></pre>
- 1
- 2
- 3
- 4
- 4-bit
- 8-bit
- 16-bit
- 32-bit
Programs
Arduino Program to take input from serial and on the led based on input.
Arduino program to fade the led bulb using for loop
Arduino program to connect a led through push button
Arduino program to change the blinking speed of led using the potentiometer
Arduino program to print all integer number from 0 to 99 using for loop
Arduino program to print odd numbers from 1 to 99
Arduino program to print odd numbers from 99 to 1
arduino program to interface buzzer with Arduino board to buzz on off with the delay of 1sec
Arduino program to Blink a Light Emitting Diode LED
Arduino program to print Hello word in LCD
Arduino program to run a counter and display in LCD
Arduino program to interface the sensor and led
Arduino program to sound the buzzer on press on push button for 1 second
Arduino program to interface buzzer with LDR and LED
Arduino program to create automatic street light control by using LDR sensor
Arduino program to read a integer number and print its table
Arduino program to print the square root of a given number
Design a night lamp using a LDR and a LED using Arduino Uno and find out the time delays associated in keeping ON the lamp
Design a counter using an atmega microcontroller (like ATMEGA328P) using Arduino to display the number of entries per day in an office.
Write a program to interface a temperature sensor (LM35) and water Nozzle with the Arduino.
Arduino program to interface led buzzer with Arduino or raspberry pi and turn ON LED for 2 second after every 3 second
Arduino program to connect RGB Led Bulb
Arduino program to turns on LED when the button is pressed once and remains on until the button is pressed again to turn it off
Arduino program to interface security password with Arduino board to show green light for correct password and red light for incorrect password.
Arduino program to input any integer number and print its table
Arduino program to connect with Servo Motor
Arduino program to interface LCD with Arduino board and print some text
Arduino application where pressing a button increases a counter value, which is then displayed on an LCD
Arduino program to interface DHT 22 sensor and find the Humidity Temperature and Heat index
Arduino program to interface soil moisture sensor
Arduino program to interface a temperature monitoring system in a public environment which will display information
Arduino program to interface a PIR (Passive Infrared) sensor
Arduino program to interface gas sensor to detect the gas
Arduino program to Design a night lamp using a photodiode and a LED and find out the time delay associated with turning the lamp on and off.
Arduino program to implement Two way traffic signal system.