Code With Muhib
Code With Muhib
  • Видео 95
  • Просмотров 23 612

Видео

Code with Muhib _ Geometric calculator in phython through function #python #pythonprogramming
Просмотров 37Месяц назад
Code with Muhib _ Geometric calculator in phython through function #python #pythonprogramming
Code With Muhib #cppbasicsforbeginners #cppcoding #interviewcodingquestionsandanswers
Просмотров 50Месяц назад
Code With Muhib #cppbasicsforbeginners #cppcoding #interviewcodingquestionsandanswers
C++ MCQ | c++ mcq questions and answers | c++ interview questions and answers | c++ MCQ's
Просмотров 39Месяц назад
C MCQ | c mcq questions and answers | c interview questions and answers | c MCQ's
C++ interview questions and answers __ c++ __ c++ full course __ c programming for beginners
Просмотров 86Месяц назад
C interview questions and answers c c full course c programming for beginners
C++ MCQ | C++ mcq questions and answers | C++ mcq for competitive exams | c++ MCQ's
Просмотров 23Месяц назад
C MCQ | C mcq questions and answers | C mcq for competitive exams | c MCQ's
C++ MCQ | C++ mcq questions and answers | C++ mcq for competitive exams | c++ MCQ's
Просмотров 12Месяц назад
C MCQ | C mcq questions and answers | C mcq for competitive exams | c MCQ's
C++ MCQ | c++ mcq questions and answers | Top 10 C++ mcq questions and answers | c++ MCQ's
Просмотров 172 месяца назад
C MCQ | c mcq questions and answers | Top 10 C mcq questions and answers | c MCQ's
C++ interview questions and answers _ c++ programming __ c++ __ c++ full course __ sky full of star
Просмотров 312 месяца назад
C interview questions and answers _ c programming c c full course sky full of star
Computer programming MCQs _ programming language MCQs _ computer language MCQs for competitive exam
Просмотров 352 месяца назад
Computer programming MCQs _ programming language MCQs _ computer language MCQs for competitive exam
How to find average of 5 numbers in c++ _ C++ program for multiplication of two numbers #average
Просмотров 432 месяца назад
How to find average of 5 numbers in c _ C program for multiplication of two numbers #average
Computer programming MCQs _ programming language MCQs _ computer language MCQs for competitive exam
Просмотров 562 месяца назад
Computer programming MCQs _ programming language MCQs _ computer language MCQs for competitive exam
C++ program to print all characters which are involve in programming #devcpp #cppbasicsforbeginners
Просмотров 352 месяца назад
C program to print all characters which are involve in programming #devcpp #cppbasicsforbeginners
how many marks will increase Malakand board for those students who got marks in 1100 _ C++ examples
Просмотров 182 месяца назад
how many marks will increase Malakand board for those students who got marks in 1100 _ C examples
program for students attendance in university website in c /C++_ program for mobile selling in c/C++
Просмотров 382 месяца назад
program for students attendance in university website in c /C _ program for mobile selling in c/C
What is algorithm explain with example_ percentage program in C++ _ C++ data type about information
Просмотров 452 месяца назад
What is algorithm explain with example_ percentage program in C _ C data type about information
How to convert Celsius to Fahrenheit in C++ in Urdu / Hindi | C++ example @CodeWithHarry
Просмотров 262 месяца назад
How to convert Celsius to Fahrenheit in C in Urdu / Hindi | C example @CodeWithHarry
C++ practice questions | C++ basic programming questions | C++ basic examples
Просмотров 522 месяца назад
C practice questions | C basic programming questions | C basic examples
Ternary operator in if else __ ternary operator in programming __ ternary operator in c #ccoding
Просмотров 322 месяца назад
Ternary operator in if else ternary operator in programming ternary operator in c #ccoding
Simple calculator using if else in c __ C program for simple calculator using if else __ c in pashto
Просмотров 142 месяца назад
Simple calculator using if else in c C program for simple calculator using if else c in pashto
How to write code for MCQs checking in c programming __ c MCQs checking code __ c language in pashto
Просмотров 162 месяца назад
How to write code for MCQs checking in c programming c MCQs checking code c language in pashto
How to write code for prime numbers in c _ c prime number program _ c language full course in pashto
Просмотров 182 месяца назад
How to write code for prime numbers in c _ c prime number program _ c language full course in pashto
Nested if statement in c language __ what is if statement in c language __ c language in pashto
Просмотров 152 месяца назад
Nested if statement in c language what is if statement in c language c language in pashto
Examples of if else statements in c language _ Logical operators in c example _ c language in pashto
Просмотров 143 месяца назад
Examples of if else statements in c language _ Logical operators in c example _ c language in pashto
C language full course in pashto ____ Else if statements in c programming ____ C logical operators
Просмотров 113 месяца назад
C language full course in pashto Else if statements in c programming C logical operators
if else statement in c language __ c if else statement __ c programming if else statement
Просмотров 413 месяца назад
if else statement in c language c if else statement c programming if else statement
how to find area of rectangle _ c program to find the area of a circle how to find area of triangle
Просмотров 373 месяца назад
how to find area of rectangle _ c program to find the area of a circle how to find area of triangle
c language __ how to write a program for a basic calculator in c __ how to find a square area in c
Просмотров 183 месяца назад
c language how to write a program for a basic calculator in c how to find a square area in c
c language basics in pashto || how to take input from user || write a program for multiplication
Просмотров 243 месяца назад
c language basics in pashto || how to take input from user || write a program for multiplication
c _ language _ full _ course _ in pashto with __ muhib rahi __ what is initialization __ in pashto
Просмотров 323 месяца назад
c _ language _ full _ course _ in pashto with muhib rahi what is initialization in pashto

Комментарии

  • @MacTheManiac
    @MacTheManiac День назад

    Reasoning: the return statement doesn’t return the count variable. It only returns 0, therefore the output it 0 because a function can only output what is in its return statement

  • @ubaidullah-rq2rq
    @ubaidullah-rq2rq 3 дня назад

    Very nice Q

  • @jannatvlogs1848
    @jannatvlogs1848 4 дня назад

    will you make more shorts like this because it is very useful for me it tells me that how the compiler compile the program and due to which reason the output comes with that value .. I appreciate your work sir

  • @ubaidullah-rq2rq
    @ubaidullah-rq2rq 5 дней назад

    fantastic keep it up

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

    it says "return 0"..?

  • @TheFrankvHoof
    @TheFrankvHoof 12 дней назад

    The correct answer is 0, since you're returning 0. You asked for the output, not what was printed.

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

      He asked the output, not what the function will return.

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

      @lifematch the output of the program is what is returned by its main function. Its input is whatever is provided to it via command line arguments

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

      @@TheFrankvHoof no no, the output of the program is not what function returns. You treat a program like a black box. The output is what the user sees. If you write a program that sets a LED to green, then the output is what LED shows you regardless what the function returns. The input of the program is what the user inputs, not what argument you are passing in a function. Likewise, the output of the program is what the user sees. The return of main, user can see that but the objective of this program is the print output, so any user would know that’s the output.

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

      ​@@lifematch "The output is what the user sees" As a professional software developer, I have to STRONGLY disagree. The output is what is returned by the program. That can be directly (in the terminal) or indirectly (i.e. via a HTTP or websocket-message). What the user sees is a side-effect of the program. (or technically it's the output of what's being piped into cout. On Unix this would be the output of /dev/tty0, not your program)

    • @lifematch
      @lifematch 5 дней назад

      @TheFrankvHoof absolutely not. We are talking about a “Program” meaning the code is black box. This program spews prints output. When you talk with Verifications/validation engineer, the output is what they see without looking at the code. The output is what executable spews out that the user sees. I don’t know what you being a professional software engineer has to do with this discussion, since this is very elementary (as far as theories goes). I have been embedded software engineer for 11 years but that doesn’t mean anything since this is theoretical discussion that even grad students can chip in. Maybe ask your colleagues, from different fields, what they think. Should be interesting to hear everyone opinions.

  • @GalacticMinds-ee7qy
    @GalacticMinds-ee7qy 14 дней назад

    it won't work since -3 > -5

  • @ubaidullah-rq2rq
    @ubaidullah-rq2rq 15 дней назад

    Fantastic question

  • @WhataChannel-pj5sn
    @WhataChannel-pj5sn 16 дней назад

    👍🏻

  • @amit-shirasao
    @amit-shirasao 16 дней назад

    4 times

  • @theinventor6977
    @theinventor6977 16 дней назад

    Not possible.....

  • @z1rkt
    @z1rkt 19 дней назад

    That'd be really good if you gave an explanation at the end of each quiz

  • @yogeshcoding
    @yogeshcoding 20 дней назад

    How??

    • @Omarfikry2005
      @Omarfikry2005 17 дней назад

      X power 0 Not times

    • @YTXiffy
      @YTXiffy 9 дней назад

      ​@@Omarfikry2005it is still wrong , anything raised to power of 0 is 1

  • @am_i_real803
    @am_i_real803 21 день назад

    Nice C++

  • @LastKidStanding-9
    @LastKidStanding-9 21 день назад

    How

  • @LastKidStanding-9
    @LastKidStanding-9 21 день назад

    How and why ?

  • @Secretcodrin
    @Secretcodrin 23 дня назад

    This is why i hate programming

  • @andrei_himmelman
    @andrei_himmelman 24 дня назад

    This is not raising to a power in c++ this is logical or.

  • @TheOnlySupremeJeff
    @TheOnlySupremeJeff 24 дня назад

    0?

  • @ГригорийПерельман-я5п

    because any number ANDed with 0 results in 0, it’s logically

  • @LastKidStanding-9
    @LastKidStanding-9 25 дней назад

    can you explain how ?? i`m still beginner. I started learning about two weeks ago.

    • @austin111gaming
      @austin111gaming 24 дня назад

      I’m assuming you know how an AND gate works here. & is the bitwise AND operator. In binary, 0 is 00000000 and 100 is 001100100. The & operator puts these two values into an AND gate, giving the result 00000000, which is 0.

    • @waydonmcnamara2101
      @waydonmcnamara2101 24 дня назад

      They all say return 0 So it returns 0 If they put a variable it would return that variable

  • @ubaidullah-rq2rq
    @ubaidullah-rq2rq 25 дней назад

    Keep it up

  • @SajnaKhanart
    @SajnaKhanart 26 дней назад

    Explain it

  • @Mo-Tx
    @Mo-Tx 26 дней назад

    You shouldn't use std as a namespace Are you really that lazy to write std::cout<<(); ?!?!

  • @KaStasy
    @KaStasy 26 дней назад

    please provide explanation

  • @Arifansari-m8m
    @Arifansari-m8m 27 дней назад

    1;0;=ab

  • @omaraldasuoki4278
    @omaraldasuoki4278 28 дней назад

    Why no explanation

  • @Roooovvv
    @Roooovvv 28 дней назад

    to add to that, true in c program is 1 so, 1<5 is true therefore prints 1.

  • @johnmarston2474
    @johnmarston2474 29 дней назад

    A number xor’d by itself is always 0. It’s a common trick in x86/64 assembly to do xor eax,eax because it’s very compact and fast.

  • @ubaidullah-rq2rq
    @ubaidullah-rq2rq 29 дней назад

    50 but gave 10 sec

  • @ubaidullah-rq2rq
    @ubaidullah-rq2rq Месяц назад

    1

  • @bevs1787
    @bevs1787 Месяц назад

    Having an explanation on why the answer is what it is would go a long way to helping more people with the videos. As someone who doesn’t know C++, I assume the answer is 1 because 5>=5 is true making it not possible to have the rest be false? It would read as True<5 which cannot read as false? That is my best guess and I would like to know if that is correct.

  • @SAHarry
    @SAHarry Месяц назад

    None have a capital z

  • @EstrAwO
    @EstrAwO Месяц назад

    Because for 2 to the power to two you would need pow(2, 2) but why does that equal c i dont know

    • @alexandre.Monge_
      @alexandre.Monge_ Месяц назад

      I think it's because it return 0 no matter what. Though I'm not sure I am not familiar with this language so maybe return 0 means something else

    • @ahuma6952
      @ahuma6952 Месяц назад

      The Symbol Operator(^) is a Bitwise Exclusive or, Such that it Goes through every Bit in the Number (in this case (10) and (10) and Applies the XOR operation (1 if One or the other is Set, 0 if both or none are set) Since it is Applying over identical Bits, Then the Second case is always true Thus (10)^(10)=00 The XOR operator comes in Useful during Low Level bit manipulation or Embedded Registers and stuff like that

    • @ahuma6952
      @ahuma6952 Месяц назад

      ​@@alexandre.Monge_ this is C++ (Extension Cpp, c++ or cxx depending on your system) The return in this case is a Finished State The return is there to Explicitly give back control to the Operating system, or the last Caller of this program The Value that the Return Gives is Called an Exit Code, and they are well defined, such that 0 is a Success and anything else is not C++ uses a Different way to print to the Standard Output, Which uses the std::cout member, and the insertion operator(<<) Thus, It inserts "Z= " to the output, and then it inserts the value z into the output, givin the Output of the Program to be: Z= {value Of z} Which in this case is Z= 0

    • @alexandre.Monge_
      @alexandre.Monge_ Месяц назад

      @@ahuma6952 ho, i didn't know, thank you very much

    • @alexandre.Monge_
      @alexandre.Monge_ Месяц назад

      @@ahuma6952 ho, i didn't know, thank you very much

  • @gh0st555
    @gh0st555 Месяц назад

    Explain

    • @KIRA_VX
      @KIRA_VX Месяц назад

      That's a bitwise XOR operator.

  • @ubaidullah-rq2rq
    @ubaidullah-rq2rq Месяц назад

    c

  • @ubaidullah-rq2rq
    @ubaidullah-rq2rq Месяц назад

    c

  • @SajadAhmad-t6y
    @SajadAhmad-t6y Месяц назад

    Fantastic❤

  • @SajadAhmad-t6y
    @SajadAhmad-t6y Месяц назад

    Good ❤

  • @SajadAhmad-t6y
    @SajadAhmad-t6y Месяц назад

    Fantastic❤

  • @ArpitPathak-21
    @ArpitPathak-21 Месяц назад

    One time And another time no print as it is exit control loop.

  • @ubaidullah-rq2rq
    @ubaidullah-rq2rq Месяц назад

    keep it up

  • @NathanCharland
    @NathanCharland Месяц назад

    Should print a 1 since it is the logical OR and not the bit wise OR. Bit wise should print a 10.

  • @nandininandhu1143
    @nandininandhu1143 Месяц назад

    a value is 15

  • @ubaidullah-rq2rq
    @ubaidullah-rq2rq Месяц назад

    cout 15

  • @SajadAhmad-t6y
    @SajadAhmad-t6y Месяц назад

    Fantastic ❤

  • @MyriadProgrammer-w3r
    @MyriadProgrammer-w3r Месяц назад

    Let's set a couple constants in programming. true = 1 false = 0 When we convert an int to a Boolean, we check if it is more then 0. If it is, it's considered true, otherwise it's false. C++ doesn't print "true" or "false". C++ treats true and false as keywords for 0 and 1. The && returns true if both conditions are true. If any one thing is found to be false it will return false. Meaning when we evaluated 8 && 10 we were basically saying "true and true", and because both are true, it returns true, and that printed 1 because 1 is the same as true.

  • @SajadAhmad-t6y
    @SajadAhmad-t6y Месяц назад

    Fantastic❤

  • @SajadAhmad-t6y
    @SajadAhmad-t6y 2 месяца назад

    TCS mcqs❤

  • @SajadAhmad-t6y
    @SajadAhmad-t6y 2 месяца назад

    Very very good