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
Continue with Google
or use

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
Continue with Google
or use

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

Sorry, you do not have permission to ask a question, You must login to ask a question.

Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have permission to ask a question, You must login to ask a question.

Continue with Google
or use

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

Answerclub

Answerclub Logo Answerclub Logo

Answerclub Navigation

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

Mobile menu

Close
Ask A Question
  • Home
  • About Us
  • Contact Us

Welcome to Answerclub.org

Questions | Answers | Discussions | Knowledge sharing | Communities & more.

Get App on Playstore
Home/ Kavya T/Answers
Ask Kavya T
  • About
  • Questions
  • Polls
  • Answers
  • Best Answers
  • Followed
  • Favorites
  • Asked Questions
  • Groups
  • Joined Groups
  • Managed Groups
  1. Asked: June 4, 2024In: Education

    What is the output of the program? #include<stdio.h> int main() { extern int a; printf("%d\n", a); return 0; } int a=20;

    Kavya T
    Kavya T Knowledge Contributor
    Added an answer on June 4, 2024 at 4:40 pm

    The output of the following 'C' program main() { extern, int a; printf("\n%d",a)' } int a =20 Output:- Garbage value We have only declared the variable, and not initialized it, which means that the block of memory that has been allocated to the variable still contains some value that has been left oRead more

    The output of the following ‘C’ program
    main()
    {
    extern, int a;
    printf(“\n%d”,a)’
    }
    int a =20

    Output:-

    Garbage value

    We have only declared the variable, and not initialized it, which means that the block of memory that has been allocated to the variable still contains some value that has been left over from previous programs and operations. That value is called a garbage value.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  2. Asked: June 4, 2024In: Education

    What will be the output of the program in 16 bit platform (Turbo C under DOS)? #include<stdio.h> int main() { extern int i; i = 20; printf("%d\n", sizeof(i)); return 0; }

    Kavya T
    Kavya T Knowledge Contributor
    Added an answer on June 4, 2024 at 4:40 pm

    The program will result in a compile-time error because the variable i is declared as extern , which means that it is not defined within the scope of the program.

    The program will result in a compile-time error because the variable i is declared as extern , which means that it is not defined within the scope of the program.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  3. Asked: June 4, 2024In: Education

    What is the output of the program given below ? #include<stdio.h> int main() { enum status { pass, fail, atkt}; enum status stud1, stud2, stud3; stud1 = pass; stud2 = atkt; stud3 = fail; printf("%d, %d, %d\n", stud1, stud2, stud3); return 0; }

    Kavya T
    Kavya T Knowledge Contributor
    Added an answer on June 4, 2024 at 4:39 pm

    The program will result in a compile-time error because the variable i is declared as extern , which means that it is not defined within the scope of the program.

    The program will result in a compile-time error because the variable i is declared as extern , which means that it is not defined within the scope of the program.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  4. Asked: June 4, 2024In: Education

    In the following program where is the variable a getting defined and where it is getting declared? #include<stdio.h> int main() { extern int a; printf("%d\n", a); return 0; } int a=20;

    Kavya T
    Kavya T Knowledge Contributor
    Added an answer on June 4, 2024 at 4:39 pm

    The variable a is declared and defined as a global variable in the line: int a = 20;. The extern line just tells the main() function scope

    The variable a is declared and defined as a global variable in the line: int a = 20;. The extern line just tells the main() function scope

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  5. Asked: June 4, 2024In: Education

    Identify which of the following are declarations 1 : extern int x; 2 : float square ( float x ) { … } 3 : double pow(double, double);

    Kavya T
    Kavya T Knowledge Contributor
    Added an answer on June 4, 2024 at 4:36 pm

    Expert-Verified Answer Both 1 and 3 are declarations. double pow(double, double); - is a function prototype declaration.

    Expert-Verified Answer
    Both 1 and 3 are declarations. double pow(double, double); – is a function prototype declaration.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  6. Asked: June 4, 2024In: Education

    Is the following statement a declaration or definition? extern int i;

    Kavya T
    Kavya T Knowledge Contributor
    Added an answer on June 4, 2024 at 4:36 pm

    extern int i; is a declaration (no memory allocation), while. int i; is a definition (memory is allocated). Aren't both statements only declaring a variable i as an int , only that one specifies that it's a global variable?

    extern int i; is a declaration (no memory allocation), while. int i; is a definition (memory is allocated). Aren’t both statements only declaring a variable i as an int , only that one specifies that it’s a global variable?

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  7. Asked: June 4, 2024In: Education

    Which of the following is not user defined data type?

    Kavya T
    Kavya T Knowledge Contributor
    Added an answer on June 4, 2024 at 4:35 pm

    So, clearly long int l = 2.35; is not User-defined data type. (i.e.long int l = 2.35; is the answer.)

    So, clearly long int l = 2.35; is not User-defined data type. (i.e.long int l = 2.35; is the answer.)

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  8. Asked: June 4, 2024In: Education

    By default a real number is treated as a

    Kavya T
    Kavya T Knowledge Contributor
    Added an answer on June 4, 2024 at 4:33 pm

    Explanation: By default, a real number is treated as a float variable.

    Explanation: By default, a real number is treated as a float variable.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  9. Asked: June 4, 2024In: Education

    Which of the following special symbol allowed in a variable name?

    Kavya T
    Kavya T Knowledge Contributor
    Added an answer on June 4, 2024 at 4:32 pm

    A variable name may begin with a letter or an underscore. Other than underscore(_), no other special symbol can be used in a variable name.

    A variable name may begin with a letter or an underscore. Other than underscore(_), no other special symbol can be used in a variable name.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  10. Asked: June 4, 2024In: Education

    How would you round off a value from 1.66 to 2.0?

    Kavya T
    Kavya T Knowledge Contributor
    Added an answer on June 4, 2024 at 4:31 pm

    20) How would you round off a value from 1.66 to 2.0? The correct option is (b). Explanation: The ceil(1.66) is used for round off a value from 1.66 to 2.0.

    20) How would you round off a value from 1.66 to 2.0? The correct option is (b). Explanation: The ceil(1.66) is used for round off a value from 1.66 to 2.0.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
1 … 21 22 23 24 25 … 155

Sidebar

Ask A Question

Stats

  • Questions 57,273
  • Answers 51,663
  • Popular
  • Answers
  • Mr.Doge

    What are the best AI tools available for Creative Designing?

    • 47 Answers
  • Mr.Doge

    How is tax calculated in India for investing in US ...

    • 41 Answers
  • Mr.Doge

    How to invest in NCD/ Corporate Bonds in India? Is ...

    • 35 Answers
  • SK Infosolutions
    SK Infosolutions added an answer If you’re planning to Buy Second Hand iMac Laptops in… November 10, 2025 at 11:13 am
  • Jeet Brothers Travels & Holidays - Luxury Coach on Rental
    Jeet Brothers Travels & Holidays - Luxury Coach on Rental added an answer If you are searching for the Best Taxi Service in… November 10, 2025 at 11:09 am
  • Magnetic Hub
    Magnetic Hub added an answer The Magnetic Bracelets from MagneticHub are designed to combine beauty… November 10, 2025 at 10:49 am

Trending Tags

ai biology branch of study business cricket education english food general knowledge. general science geography gk health history poll question science sports technology travel

Explore

  • Home
  • Groups
  • Add group
  • Catagories
  • Questions
    • New Questions
    • Most Answered
  • Polls
  • Tags
  • Badges

© 2024 Answerclub.org | All Rights Reserved
Designed & Developed by INFINITEBOX & TechTrends