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 864077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:24:59+00:00 2026-05-15T09:24:59+00:00

Is this from the C standard?

  • 0

Is this from the C standard?

  • 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-05-15T09:25:00+00:00Added an answer on May 15, 2026 at 9:25 am

    Because declarations in C follow the operator precedence rules (ie array subscription is evaluated before indirection), you’ll need parens to declare pointers to array types.

    In many use cases, there’s not really any practical benefit over using a plain char *, except that it’s a way to enforce the array size, especially when used as a function parameter:

    void foo(char bar[42]);
    

    is equivalent to

    void foo(char *bar);
    

    and accepts any char *, whereas

    void foo(char (*bar)[42]);
    

    will only accept pointers to arrays of size 42.

    As accessing the elements of bar in the latter case is cumbersome, it might be a good idea to immediately define an equivalent char * in the function body

    char *baz = *bar;
    

    so that you can use direct subscription baz[13] instead of (*bar)[13].

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider this is a standard Linq from q in SomeQuery select new SomeObject {
This is a sample input form from wordpress standard coding (I get it from
This is the statement from ISO C++ Standard 14.6.4.1 Point of instantiation 4.If a
This is the statement from ISO C++ Standard 14.6.4.1 Point of instantiation For a
Jakob Østergaard presented this challenge: Write a program that reads text from standard-input, and
I have query like this: SELECT *, SUM(ss.rank) as group_sum FROM Standard s, s.SubStandard
This is a follow-up question on Delete field from standard Django model . In
This is from the C++11 standard sec 12.7.4. This is rather confusing. What does
I'm talking about this surprisingly simple implementation of rand() from the C standard: static
From LinkedIn API I got this hash: > #<LinkedIn::Mash all=[#<LinkedIn::Mash api_standard_profile_request=#<LinkedIn::Mash headers=#<LinkedIn::Mash > all=[#<LinkedIn::Mash

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.