Posts

Showing posts from August, 2023

c program to clear nth bit of the number || Bitwise Operators || Problem Solving ||

#include <stdio.h> int main() {     int num, n, newNum;     printf("Enter any number: ");     scanf("%d", &num);     printf("Enter nth bit to clear (0-31): ");     scanf("%d", &n);     newNum = num & (~(1 << n));     printf("Number before clearing %d bit: %d (in decimal)\n", n, num);     printf("Number after clearing %d bit: %d (in decimal)\n", n, newNum);     return 0; } Logic :-  num&(~(1<<n));

ai generated video of flying ship #ai #stablediffusion #midjourney #aimu...

Image

Python revision notes || Direct download link 💯💯💯✅✅✅🔥🔥🔥

  Python Revision Notes Direct Download Link :)  Click on below link  Download

Python Revision Notes Cheat Sheet 🔥🔥🔥✅✅✅💯💯💯

Python Revision Notes :- Refer the below notes 👇👇👇