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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:40:34+00:00 2026-05-14T14:40:34+00:00

can anyone tell my what does the #pragma can do in the c language

  • 0

can anyone tell my what does the #pragma can do in the c language . what are its uses and why the above program is not giving the output ‘inside v1’& ‘inside v2’ in the following program …

# include<stdio.h>
void v1();
void v2();
# pragma startup v1

# pragma exit v2

int main()
{
printf("inside main\n");
return 0;

}
void v1()
{
printf("inside v1\n");

}
void v2()
{
printf("inside v2\n");
}

i also want to know what a are the uses of the #pragma directive …. plz help

  • 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-14T14:40:35+00:00Added an answer on May 14, 2026 at 2:40 pm

    #pragma are compiler/vendor specific directives to the compiler. You’d have to look up the documentation for the particular compiler you’re using.

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

Sidebar

Related Questions

Can anyone tell me if MySQL does indexing for its foreign keys automatically or
can anyone tell me why this does not work Excel.Worksheet ws_res = (Excel.Worksheet) wb.Worksheets.Add(mis,
I'm not sure if the information I'm giving is enough, but can anyone tell
Can anyone tell me why this form does not properly submit values to server?
Can anyone tell me why this does not work? I would have thought the
Can anyone tell me why my last return statement does not work? public class
Can anyone please tell me why does the following statement inside a given stored
Can anyone tell me if, when compiling a c++ program, does g++ (Ubuntu/Linaro 4.4.4-14ubuntu5)
Can anyone tell me what this bit of regex does? </?[a-z0-9-='!\$\?%&\*\+@~##;,\\]*:[a-z0-9 -='!\$\?%&\*\+@~##;,\\]*> My regex
Can anyone tell me the difference b/W WPF and WCF?Does WCF uses only IIS?

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.