Page 1 of 2 12 LastLast
Results 1 to 12 of 16

Thread: kindly help me

  1. #1
    Nadilovzu is offline Senior Member+
    Last Online
    1st February 2019 @ 10:35 AM
    Join Date
    23 Jan 2011
    Location
    Jhelum
    Age
    39
    Gender
    Male
    Posts
    458
    Threads
    101
    Credits
    -1,635
    Thanked
    16

    Default kindly help me

    Kya koi yah sawal hal ker sakta ha plz help me to solv this question.
    Q.
    How the short circuit evaluation of AND operator (&&) and OR operator (||) in C++, helps us to write a safe code, Explain, at least with one example ?

  2. #2
    kamranshahr's Avatar
    kamranshahr is offline Senior Member+
    Last Online
    16th May 2023 @ 02:05 PM
    Join Date
    10 Apr 2009
    Location
    desert of sorrow
    Gender
    Male
    Posts
    495
    Threads
    67
    Credits
    1,264
    Thanked
    35

    Smile

    Quote Nadilovzu said: View Post
    Kya koi yah sawal hal ker sakta ha plz help me to solv this question.
    Q.
    How the short circuit evaluation of AND operator (&&) and OR operator (||) in C++, helps us to write a safe code, Explain, at least with one example ?
    plz CHECK THIS hope ur problem will solve.

    LINK!!!

  3. #3
    Nadilovzu is offline Senior Member+
    Last Online
    1st February 2019 @ 10:35 AM
    Join Date
    23 Jan 2011
    Location
    Jhelum
    Age
    39
    Gender
    Male
    Posts
    458
    Threads
    101
    Credits
    -1,635
    Thanked
    16

    Default

    ma chek kerta hu bro

  4. #4
    Nadilovzu is offline Senior Member+
    Last Online
    1st February 2019 @ 10:35 AM
    Join Date
    23 Jan 2011
    Location
    Jhelum
    Age
    39
    Gender
    Male
    Posts
    458
    Threads
    101
    Credits
    -1,635
    Thanked
    16

    Default

    bro is k ilawa aur koi information mil jay ?

  5. #5
    Nadilovzu is offline Senior Member+
    Last Online
    1st February 2019 @ 10:35 AM
    Join Date
    23 Jan 2011
    Location
    Jhelum
    Age
    39
    Gender
    Male
    Posts
    458
    Threads
    101
    Credits
    -1,635
    Thanked
    16

    Default

    kamran bhai aap ka jawab ka bohat dair say intzar ker reha hu ma

  6. #6
    kamranshahr's Avatar
    kamranshahr is offline Senior Member+
    Last Online
    16th May 2023 @ 02:05 PM
    Join Date
    10 Apr 2009
    Location
    desert of sorrow
    Gender
    Male
    Posts
    495
    Threads
    67
    Credits
    1,264
    Thanked
    35

    Cool

    Quote Nadilovzu said: View Post
    kamran bhai aap ka jawab ka bohat dair say intzar ker reha hu ma
    oh sorry brother i was answering some else. let me check. again sorry tell me kiya ye information help full thy?becoz mujhay kuch use full lagy hay islie mene yehy select ki thy wese mein or bhy search kar hy raha tha apki request

  7. #7
    Nadilovzu is offline Senior Member+
    Last Online
    1st February 2019 @ 10:35 AM
    Join Date
    23 Jan 2011
    Location
    Jhelum
    Age
    39
    Gender
    Male
    Posts
    458
    Threads
    101
    Credits
    -1,635
    Thanked
    16

    Default

    is say bohat help mili ha jo link aap nay pehlay send kia tha laken phr bhi jawab adhura ha

  8. #8
    kamranshahr's Avatar
    kamranshahr is offline Senior Member+
    Last Online
    16th May 2023 @ 02:05 PM
    Join Date
    10 Apr 2009
    Location
    desert of sorrow
    Gender
    Male
    Posts
    495
    Threads
    67
    Credits
    1,264
    Thanked
    35

    Smile

    Quote Nadilovzu said: View Post
    is say bohat help mili ha jo link aap nay pehlay send kia tha laken phr bhi jawab adhura ha
    ok brother hold on i i'll check

  9. #9
    Nadilovzu is offline Senior Member+
    Last Online
    1st February 2019 @ 10:35 AM
    Join Date
    23 Jan 2011
    Location
    Jhelum
    Age
    39
    Gender
    Male
    Posts
    458
    Threads
    101
    Credits
    -1,635
    Thanked
    16

    Default

    Thnx bro i am waiting for you positive reply

  10. #10
    kamranshahr's Avatar
    kamranshahr is offline Senior Member+
    Last Online
    16th May 2023 @ 02:05 PM
    Join Date
    10 Apr 2009
    Location
    desert of sorrow
    Gender
    Male
    Posts
    495
    Threads
    67
    Credits
    1,264
    Thanked
    35

    Default

    check this
    link!!

  11. #11
    kamranshahr's Avatar
    kamranshahr is offline Senior Member+
    Last Online
    16th May 2023 @ 02:05 PM
    Join Date
    10 Apr 2009
    Location
    desert of sorrow
    Gender
    Male
    Posts
    495
    Threads
    67
    Credits
    1,264
    Thanked
    35

    Default

    found something elase
    "C++ has short circuit evaluation. Meaning that if the first condition (1 > 2) is false, yes it will stop at the && because the entire statement would be false. The second condition would not be checked.

    However, if the first is true the second will be checked because it could be true or false and determine the entire outcome of the condition."

  12. #12
    Nadilovzu is offline Senior Member+
    Last Online
    1st February 2019 @ 10:35 AM
    Join Date
    23 Jan 2011
    Location
    Jhelum
    Age
    39
    Gender
    Male
    Posts
    458
    Threads
    101
    Credits
    -1,635
    Thanked
    16

    Default

    Lagta ha ab solv ho jay ga thnx alot bro

Page 1 of 2 12 LastLast

Similar Threads

  1. kindly help me plz.
    By aqib 786 in forum Mobile phones problems and Help Zone
    Replies: 4
    Last Post: 5th January 2013, 07:06 AM
  2. Answered Sir kindly see this
    By *Xpert~Baba* in forum Tajaweez aur Shikayat
    Replies: 1
    Last Post: 16th September 2011, 07:58 PM
  3. kindly help if anybody knows
    By skyshake in forum Ask an Expert
    Replies: 1
    Last Post: 23rd July 2011, 10:52 PM
  4. Need kindly Help
    By Eyemback in forum Ask an Expert
    Replies: 2
    Last Post: 1st February 2011, 07:17 AM
  5. kindly help me!!!
    By Faraz abbasii in forum Help/Request (PC Games)
    Replies: 2
    Last Post: 18th January 2010, 12:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •