Operators in C || video 10 || normie coder

Поделиться
HTML-код
  • Опубликовано: 20 дек 2024

Комментарии • 3

  • @danknormie2276
    @danknormie2276  7 дней назад

    code in this video
    // 1. Arithmetic Operators
    // Used for mathematical operations:
    // + (Addition)
    // - (Subtraction)
    // * (Multiplication)
    // / (Division)
    // % (Modulo)
    // 2. Relational (Comparison) Operators
    // Used to compare values:
    // < (Less than)
    // > (Greater than)
    // = (Greater than or equal to)
    // == (Equal to)
    // != (Not equal to)
    // 3. Logical Operators
    // Used to combine or invert conditions:
    // && (Logical AND)
    // || (Logical OR)
    // ! (Logical NOT)
    // 4. Bitwise Operators
    // Operate on bits of a number:
    // & (Bitwise AND)
    // | (Bitwise OR)
    // ^ (Bitwise XOR)
    // ~ (Bitwise NOT)
    // > (Right shift)
    // 5. Assignment Operators
    // Used to assign values:
    // = (Simple assignment)
    // +=, -=, *=, /=, %= (Compound assignments)
    // 6. Increment/Decrement Operators
    // Used to increase or decrease the value of a variable:
    // ++ (Increment)
    // -- (Decrement)
    // 7. Conditional (Ternary) Operator
    // A shorthand for if-else:
    // condition ? expr1 : expr2;
    #include
    int main(){
    int a = 10,b = 10;
    // if(a==120 || b==1){
    // printf("hello") ;
    // }
    // else{
    // printf("kuch nahi hua");
    int c = a==b?a:b;
    printf("%d",c);
    return 0;
    }

  • @originalcontentcreator7
    @originalcontentcreator7 6 дней назад

    Why are you using vpn?

    • @danknormie2276
      @danknormie2276  6 дней назад

      nope, i was not using VPN that's something else I was also wondering earlier why that sign was coming even tho I was not using VPN...