Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7932885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:09:13+00:00 2026-06-03T21:09:13+00:00

Hello Friend, I am novice in Python. I saw an instruction in Python programming

  • 0

Hello Friend,
I am novice in Python.
I saw an instruction in Python programming today in this link
http://www.learnpython.org/page/Conditions
There in question he wants to carryout logical AND operation with array and array element.
I tried the same in C.
But C threw an error.
How can we do it?
And how the AND operation will happen here?

first_array = [3, 4, 5]
if first_array and first_array[0] == 1:
   print "5"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:09:15+00:00Added an answer on June 3, 2026 at 9:09 pm

    in c

    int first_array[] = { 3,4,5};
    if ( (first_array != null) && (first_array[0] == 3 )) 
    {
        printf("5");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello Friends check my code http://jsfiddle.net/sUaky/2/ i want to load a web page in
Hello Haskellers and Haskellettes, when reading http://learnyouahaskell.com/ a friend of mine came up with
Hello friends a very novice question as I am very new to programming. I
Lets say I have this. <div id=somediv> hello, my friend&#39;s &amp; dog are good
Hello friend I designed a drop down menu using mouseeneter( ) and mouseout() in
Hello my friend is currently development an application using SOA Architecture, He sent me
Hello friends it may sound awkward but i am novice to asp dotnet web
Hello friend I want to recognize and determine the type of object into photo
hello a friend of mind ask something about php editor for his companion on
Hello I have a SWF clip that I got from a friend. the code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.