Skip to content
Home » Data Types – Part 3 | C Language Tutorial naresh i technology c language

Data Types – Part 3 | C Language Tutorial naresh i technology c language



C Language Tutorial Videos | Mr. Srinivas ▻For Registration : ▻Call: +91-8179191999 ▻ Visit Our Website: C-Language …

Images related to the topic naresh i technology c language

Data Types - Part 3 | C Language Tutorial

Data Types – Part 3 | C Language Tutorial

Search related to the topic Data Types – Part 3 | C Language Tutorial

#Data #Types #Part #Language #Tutorial
Data Types – Part 3 | C Language Tutorial
naresh i technology c language
See all the latest ways to make money online: See more here
See all the latest ways to make money online: See more here

See also  Teknik Super - Subscribe !!! #short #tiktok #mekanik e technology in the aid of farmers drishti ias
See also  Si Delaney from Don Broco plays 'Stay Ignorant' technology don broco

38 thoughts on “Data Types – Part 3 | C Language Tutorial naresh i technology c language”

  1. One of best teacher (sir srinivas) i came across 😄 the way in which you teach is really nice and everyone can easily understand how simply you give explanation to us thank you sir 😊😊😊😊

  2. Write a c program to find whether the given number is power of 2 or not.

    Input Format

    Input an integer

    Constraints

    Nill

    Output Format

    YES/NO

    Sample Input 0

    8

    Sample Output 0

    YES

    Sample Input 1

    17

    Sample Output 1

    NO
    include <stdio.h>
    #include <string.h>
    #include <math.h>
    #include <stdlib.h>

    int main() {
    int num;
    int tempnum,flag;
    scanf("%d",&num);
    tempnum=num;
    flag=0;
    while(tempnum!=0)
    {

    if(tempnum%2!=0)
    {
    flag=1;
    break;
    }
    tempnum= tempnum/2;
    }
    if(flag==0)
    {
    printf("YES",num);
    }
    else
    {
    printf("NO",num);
    }

    return 0;
    }
    Please explain this program logic sir

Leave a Reply

Your email address will not be published. Required fields are marked *